Prevent more 'unused parameter' warnings - compiling without debug enabled disables...
[synfig.git] / synfig-core / trunk / src / synfig / value.h
index 6c2ffb5..d97c7c3 100644 (file)
@@ -226,7 +226,7 @@ public:
 
        // === GET MEMBERS ========================================================
        template <typename T>
-       const T &get(const T& x)const
+       const T &get(const T& x __attribute__ ((unused)))const
        {
                assert(is_valid() && same_type_as(x));
                return *static_cast<const T*>(data);