This will allow us to make use of the hash_table_call_foreach() function from outside the object. --- src/util/string_to_uint_map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/string_to_uint_map.h b/src/util/string_to_uint_map.h index e0533ec..18f5166 100644 --- a/src/util/string_to_uint_map.h +++ b/src/util/string_to_uint_map.h @@ -150,6 +150,8 @@ public: free(dup_key); } + struct hash_table *ht; + private: static void delete_key(const void *key, void *data, void *closure) { @@ -169,8 +171,6 @@ private: wrapper->callback((const char *) key, value, wrapper->closure); } - - struct hash_table *ht; }; #endif /* __cplusplus */ -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev