From f4f4423fe733cf9a812319c3c5e312fdf820015a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 23 Apr 2002 11:02:09 +0000 Subject: [PATCH] Added a pragma to get round a VisualStudio warning that I couldn't fix in any easy way. --- src/osgPlugins/txp/TrPageArchive.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/osgPlugins/txp/TrPageArchive.cpp b/src/osgPlugins/txp/TrPageArchive.cpp index b01c65ffa..e0b08bd89 100644 --- a/src/osgPlugins/txp/TrPageArchive.cpp +++ b/src/osgPlugins/txp/TrPageArchive.cpp @@ -32,6 +32,12 @@ using namespace txp; using namespace osg; +// disable 'this' used in base pointer initilialization.. +#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__)) + #pragma warning( disable : 4355 ) +#endif + + TrPageArchive::TrPageArchive() : trpgr_Archive() , parse(new TrPageParser(this))