diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-25 17:23:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-26 02:16:21 +0300 |
commit | e9011100f75c22b3a9c9021fd49fb007efa03ed0 (patch) | |
tree | 88d482900f643136f8e29f79982ba78541cbf6b0 /source/blender/windowmanager | |
parent | 3cf2821f2f09d3c55dd88c2b6fb3b26e1ff69a7e (diff) |
Fix compiler warnings on macOS / clang / c++11.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h index 1a9693a472b..fd060c79b2c 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h @@ -35,7 +35,7 @@ struct wmManipulatorMap; /* wmManipulator */ /* manipulators are set per region by registering them on manipulator-maps */ -typedef struct wmManipulator { +struct wmManipulator { struct wmManipulator *next, *prev; char idname[MAX_NAME + 4]; /* + 4 for unique '.001', '.002', etc suffix */ @@ -106,7 +106,7 @@ typedef struct wmManipulator { * the manipulator is interacted with, those properties get updated */ PointerRNA *ptr; PropertyRNA **props; -} wmManipulator; +}; /* wmManipulator.state */ enum { @@ -170,7 +170,7 @@ void wm_manipulatorgrouptype_keymap_init(struct wmManipulatorGroupType *mgroupty /* -------------------------------------------------------------------- */ /* wmManipulatorMap */ -typedef struct wmManipulatorMap { +struct wmManipulatorMap { struct wmManipulatorMap *next, *prev; struct wmManipulatorMapType *type; @@ -194,7 +194,7 @@ typedef struct wmManipulatorMap { struct wmManipulator **selected_manipulator; int tot_selected; } mmap_context; -} wmManipulatorMap; +}; /** * This is a container for all manipulator types that can be instantiated in a region. @@ -202,13 +202,13 @@ typedef struct wmManipulatorMap { * * \note There is only ever one of these for every (area, region) combination. */ -typedef struct wmManipulatorMapType { +struct wmManipulatorMapType { struct wmManipulatorMapType *next, *prev; char idname[64]; short spaceid, regionid; /* types of manipulator-groups for this manipulator-map type */ ListBase manipulator_grouptypes; -} wmManipulatorMapType; +}; void wm_manipulatormap_selected_delete(wmManipulatorMap *mmap); bool wm_manipulatormap_deselect_all(struct wmManipulatorMap *mmap, wmManipulator ***sel); |