summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-12-17 11:15:31 -0500
committerOz Linden <oz@lindenlab.com>2014-12-17 11:15:31 -0500
commitf8ed44f8ec80916e684c2783da02f89474710de6 (patch)
tree2a4ca145439751e864beb6be91cde52a7901b036 /indra/llcommon
parent11ab03331f5028455a56245fc9121b82068565cc (diff)
parent0d71baba74e2009e88471e2c44e78863b34a5817 (diff)
merge latest updates from nat and callum
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-xindra/llcommon/tests/llerror_test.cpp2
-rwxr-xr-xindra/llcommon/tests/llsdserialize_test.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llerror_test.cpp b/indra/llcommon/tests/llerror_test.cpp
index fee9492618..f51279e817 100755
--- a/indra/llcommon/tests/llerror_test.cpp
+++ b/indra/llcommon/tests/llerror_test.cpp
@@ -38,7 +38,9 @@
namespace
{
+#ifdef __clang__
# pragma clang diagnostic ignored "-Wunused-function"
+#endif
void test_that_error_h_includes_enough_things_to_compile_a_message()
{
LL_INFOS() << "!" << LL_ENDL;
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index afd4e7c8c1..6fbb9abfc0 100755
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -46,6 +46,7 @@ typedef U32 uint32_t;
#include "boost/range.hpp"
#include "boost/foreach.hpp"
#include "boost/function.hpp"
+#include "boost/bind.hpp"
#include "boost/phoenix/bind/bind_function.hpp"
#include "boost/phoenix/core/argument.hpp"
using namespace boost::phoenix;
@@ -1659,7 +1660,7 @@ namespace tut
// takes a callable. To this callable it passes the
// std::ostream with which it's writing the
// NamedTempFile.
- bind(writeLLSDArray, placeholders::arg1, cdata));
+ boost::bind(writeLLSDArray, _1, cdata));
python("read C++ notation",
placeholders::arg1 <<