Revision: 8853
http://playerstage.svn.sourceforge.net/playerstage/?rev=8853&view=rev
Author: hsujohnhsu
Date: 2010-08-12 18:31:45 +0000 (Thu, 12 Aug 2010)
Log Message:
-----------
fix possible function name clash by namepacing Plugin class reference
Modified Paths:
--------------
code/gazebo/trunk/server/Plugin.hh
Modified: code/gazebo/trunk/server/Plugin.hh
===================================================================
--- code/gazebo/trunk/server/Plugin.hh 2010-08-12 18:29:55 UTC (rev 8852)
+++ code/gazebo/trunk/server/Plugin.hh 2010-08-12 18:31:45 UTC (rev 8853)
@@ -28,8 +28,8 @@
}
#define GZ_REGISTER_PLUGIN(name, classname) \
-extern "C" Plugin *RegisterPlugin(); \
-Plugin *RegisterPlugin() \
+extern "C" gazebo::Plugin *RegisterPlugin(); \
+gazebo::Plugin *RegisterPlugin() \
{\
return new classname();\
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit