diff --git a/include/osg/ValueObject b/include/osg/ValueObject index f7bedf545..82c1dda05 100644 --- a/include/osg/ValueObject +++ b/include/osg/ValueObject @@ -240,7 +240,7 @@ class ValueObject : public Object template bool getScalarValue(T& value) { GetScalarValue gsv; if (get(gsv) && gsv.set) { value = gsv.value; return true; } else return false; } -// + template bool setScalarValue(T value) { SetScalarValue ssv(value); return set(ssv) && ssv.set; }