[Bf-blender-cvs] [e34ff4926fa] master: Cleanup: Fix compiler warning

Antonio Vazquez noreply at git.blender.org
Fri Feb 14 16:17:13 CET 2020


Commit: e34ff4926fad08cf63f479a0a1ebd0849cdd1f8e
Author: Antonio Vazquez
Date:   Fri Feb 14 16:17:01 2020 +0100
Branches: master
https://developer.blender.org/rBe34ff4926fad08cf63f479a0a1ebd0849cdd1f8e

Cleanup: Fix compiler warning

===================================================================

M	source/blender/editors/include/UI_interface.h

===================================================================

diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 5bed153e995..e49d3f6ae53 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -727,7 +727,7 @@ bool UI_but_active_only_ex(const struct bContext *C,
                            struct ARegion *ar,
                            uiBlock *block,
                            uiBut *but,
-                           bool remove_on_failure);
+                           const bool remove_on_failure);
 bool UI_but_active_only(const struct bContext *C, struct ARegion *ar, uiBlock *block, uiBut *but);
 bool UI_block_active_only_flagged_buttons(const struct bContext *C,
                                           struct ARegion *ar,



More information about the Bf-blender-cvs mailing list