From 4493cc817dda99b4f956ea68ef7f356910172b7f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Jun 2013 14:08:36 +0000 Subject: [PATCH] From Laurens Voerman, "the current version of BufferObject causes a huge amount of warnings in Visual Studio 2012 like: OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' found outside of comment (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) adding a space before /* fixes the problem void removeClient(osg::Object * /*client*/) { --_numClients; } " --- include/osg/BufferObject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/BufferObject b/include/osg/BufferObject index 706c040a2..cdb668a93 100644 --- a/include/osg/BufferObject +++ b/include/osg/BufferObject @@ -698,7 +698,7 @@ class OSG_EXPORT BufferData : public Object void addClient(osg::Object * /*client*/) { ++_numClients; } - void removeClient(osg::Object */*client*/) { --_numClients; } + void removeClient(osg::Object * /*client*/) { --_numClients; } protected: