summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-12-02 15:40:02 -0500
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 15:28:17 -0400
commit7915dc45624e714706c497b45b5f2b663fa0cdc2 (patch)
tree86ada907d356c14caa06d61a2dbd5f90f2e62c5c
parent9d5b897600a8f9405ec37a141b9417f34a11c557 (diff)
DRTVWR-494: Quiet VS warnings about its own <mutex> header.
-rw-r--r--indra/llcommon/llinstancetracker.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h
index 76b201ad8c..3c8a5e3fb6 100644
--- a/indra/llcommon/llinstancetracker.h
+++ b/indra/llcommon/llinstancetracker.h
@@ -32,10 +32,20 @@
#include <set>
#include <vector>
#include <typeinfo>
-#include <mutex>
#include <memory>
#include <type_traits>
+#if LL_WINDOWS
+#pragma warning (push)
+#pragma warning (disable:4265)
+#endif
+// 'std::_Pad' : class has virtual functions, but destructor is not virtual
+#include <mutex>
+
+#if LL_WINDOWS
+#pragma warning (pop)
+#endif
+
#include <boost/iterator/transform_iterator.hpp>
#include <boost/iterator/indirect_iterator.hpp>
#include <boost/iterator/filter_iterator.hpp>