summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-05-30 13:11:50 +0200
committerAnsariel <ansariel.hiller@phoenixviewer.com>2024-05-30 13:11:50 +0200
commitc082f6f67a6dcd3437d1f2413932fef8cdf7de07 (patch)
treecdbf77c91e96bc9d02b74c0f74b4bea8a641be70 /indra/llcommon
parent7e645bd42d6e9cf403c4b4b7d7eb070c5bb1ebf3 (diff)
Re-enable compiler warning C4800 (performance warning)
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llpreprocessor.h1
-rw-r--r--indra/llcommon/lluuid.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h
index a54408a852..6b6bd063ab 100644
--- a/indra/llcommon/llpreprocessor.h
+++ b/indra/llcommon/llpreprocessor.h
@@ -139,7 +139,6 @@
#endif
#pragma warning( disable : 4503 ) // 'decorated name length exceeded, name was truncated'. Does not seem to affect compilation.
-#pragma warning( disable : 4800 ) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
#pragma warning( disable : 4996 ) // warning: deprecated
// Linker optimization with "extern template" generates these warnings
diff --git a/indra/llcommon/lluuid.h b/indra/llcommon/lluuid.h
index 68c4b05fdc..b382d6b3f9 100644
--- a/indra/llcommon/lluuid.h
+++ b/indra/llcommon/lluuid.h
@@ -82,8 +82,6 @@ public:
// to integers, among other things. Use isNull() or notNull().
// operator bool() const;
- // JC: These must return real bool's (not BOOLs) or else use of the STL
- // will generate bool-to-int performance warnings.
bool operator==(const LLUUID &rhs) const;
bool operator!=(const LLUUID &rhs) const;
bool operator<(const LLUUID &rhs) const;