summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstl.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2014-04-22 08:58:38 -0700
committerGraham Linden <graham@lindenlab.com>2014-04-22 08:58:38 -0700
commitae035a0d66604e25b1277c4fa303aea8d798e719 (patch)
tree38ea1ea25240358d692b426eb9834ee2ff2d1d76 /indra/llcommon/llstl.h
parentc71e459bed68c1602d409e5c946c5e016d09d105 (diff)
Modify importer to (optionally) improve debug output, perform name-based LOD association, and handle models with many materials.
Diffstat (limited to 'indra/llcommon/llstl.h')
-rwxr-xr-xindra/llcommon/llstl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llstl.h b/indra/llcommon/llstl.h
index 0a39288f5a..6a539c2b91 100755
--- a/indra/llcommon/llstl.h
+++ b/indra/llcommon/llstl.h
@@ -27,6 +27,8 @@
#ifndef LL_LLSTL_H
#define LL_LLSTL_H
+#include "stdtypes.h"
+
#include <functional>
#include <algorithm>
#include <map>
@@ -489,7 +491,7 @@ bool before(const std::type_info* lhs, const std::type_info* rhs)
return strcmp(lhs->name(), rhs->name()) < 0;
#else // not Linux, or gcc 4.4+
// Just use before(), as we normally would
- return lhs->before(*rhs);
+ return lhs->before(*rhs) ? true : false;
#endif
}