diff --git a/src/lib/meta/trait.hpp b/src/lib/meta/trait.hpp index 84250866f..ee77db289 100644 --- a/src/lib/meta/trait.hpp +++ b/src/lib/meta/trait.hpp @@ -27,7 +27,6 @@ #include "lib/meta/util.hpp" #include "lib/meta/duck-detector.hpp" -#include "lib/wrapper.hpp" ////////////////////////TODO only because of AssignableRefWrapper -- can we get rid of this import? #include #include @@ -196,7 +195,6 @@ namespace meta { typedef TY* pointer; typedef TY& reference; typedef TY value_type; - typedef value_type member_type; }; template @@ -205,7 +203,6 @@ namespace meta { typedef TY* pointer; typedef TY& reference; typedef TY value_type; - typedef pointer member_type; }; template @@ -214,9 +211,7 @@ namespace meta { typedef TY* pointer; typedef TY& reference; typedef TY value_type; - typedef lib::wrapper::AssignableRefWrapper member_type; }; - //////////////////////////////////////////TODO: member_type not needed anymore 12/09 -- obsolete? useful? keep it? diff --git a/src/lib/util-foreach.hpp b/src/lib/util-foreach.hpp index 9270c3a06..8c0791c65 100644 --- a/src/lib/util-foreach.hpp +++ b/src/lib/util-foreach.hpp @@ -55,6 +55,7 @@ #include "lib/meta/trait.hpp" #include +#include #include