summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdaterservice.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2010-11-01 15:49:04 -0400
committerNat Goodspeed <nat@lindenlab.com>2010-11-01 15:49:04 -0400
commit2125bc0bbb3a5493b0b96bf68889b1f44b2db011 (patch)
tree435d7da8447a8baa28c418baba52e4a5de2240c4 /indra/viewer_components/updater/llupdaterservice.cpp
parent3bf2b7b41e4bd489b2dff9555b6553844b6df532 (diff)
On Windows, disable this-used-in-initializer warning.
Diffstat (limited to 'indra/viewer_components/updater/llupdaterservice.cpp')
-rw-r--r--indra/viewer_components/updater/llupdaterservice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/llupdaterservice.cpp b/indra/viewer_components/updater/llupdaterservice.cpp
index 2633dbc015..1d0ead3cd4 100644
--- a/indra/viewer_components/updater/llupdaterservice.cpp
+++ b/indra/viewer_components/updater/llupdaterservice.cpp
@@ -34,6 +34,10 @@
#include <boost/scoped_ptr.hpp>
#include <boost/weak_ptr.hpp>
+#if LL_WINDOWS
+#pragma warning (disable : 4355) // 'this' used in initializer list: yes, intentionally
+#endif
+
boost::weak_ptr<LLUpdaterServiceImpl> gUpdater;
class LLUpdaterServiceImpl :