diff --git a/include/osgUtil/PrintVisitor b/include/osgUtil/PrintVisitor index b57fab292..ebd5831e8 100644 --- a/include/osgUtil/PrintVisitor +++ b/include/osgUtil/PrintVisitor @@ -38,6 +38,10 @@ class OSGUTIL_EXPORT PrintVisitor : public osg::NodeVisitor void enter() { _indent += _step; } void leave() { _indent -= _step; } + protected: + + PrintVisitor& operator = (const PrintVisitor&) { return *this; } + std::ostream& _out; unsigned int _indent; unsigned int _step;