diff options
| author | callum_linden <none@none> | 2014-12-10 13:02:59 -0800 | 
|---|---|---|
| committer | callum_linden <none@none> | 2014-12-10 13:02:59 -0800 | 
| commit | 2ebc3b0fb0e52c83c60066eb2182275d22a4cced (patch) | |
| tree | 5aca10ea235eceb8644fd676318c62293a58474c /indra | |
| parent | 6bb3fc93926e93154d9651e16e131ffa4c805a2e (diff) | |
| parent | 145153bbb2d3d41194c9c4cbadbb69129cb4ab5c (diff) | |
Merge with head
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/llcommon/lleventcoro.h | 2 | ||||
| -rwxr-xr-x | indra/test/namedtempfile.h | 10 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/indra/llcommon/lleventcoro.h b/indra/llcommon/lleventcoro.h index f55b74ac7e..abbeeaa373 100755 --- a/indra/llcommon/lleventcoro.h +++ b/indra/llcommon/lleventcoro.h @@ -67,7 +67,7 @@ public:      LLEventPumpOrPumpName() {}      operator LLEventPump& () const { return *mPump; }      LLEventPump& getPump() const { return *mPump; } -    operator bool() const { return mPump; } +    operator bool() const { return bool(mPump); }      bool operator!() const { return ! mPump; }  private: diff --git a/indra/test/namedtempfile.h b/indra/test/namedtempfile.h index 6069064627..7d59cad32c 100755 --- a/indra/test/namedtempfile.h +++ b/indra/test/namedtempfile.h @@ -17,8 +17,8 @@  #include "apr_file_io.h"  #include <string>  #include <boost/function.hpp> -#include <boost/lambda/lambda.hpp> -#include <boost/lambda/bind.hpp> +#include <boost/phoenix/core/argument.hpp> +#include <boost/phoenix/operator/bitwise.hpp>  #include <boost/noncopyable.hpp>  #include <iostream>  #include <sstream> @@ -34,19 +34,19 @@ public:      NamedTempFile(const std::string& pfx, const std::string& content, apr_pool_t* pool=gAPRPoolp):          mPool(pool)      { -        createFile(pfx, boost::lambda::_1 << content); +        createFile(pfx, boost::phoenix::placeholders::arg1 << content);      }      // Disambiguate when passing string literal      NamedTempFile(const std::string& pfx, const char* content, apr_pool_t* pool=gAPRPoolp):          mPool(pool)      { -        createFile(pfx, boost::lambda::_1 << content); +        createFile(pfx, boost::phoenix::placeholders::arg1 << content);      }      // Function that accepts an ostream ref and (presumably) writes stuff to      // it, e.g.: -    // (boost::lambda::_1 << "the value is " << 17 << '\n') +    // (boost::phoenix::placeholders::arg1 << "the value is " << 17 << '\n')      typedef boost::function<void(std::ostream&)> Streamer;      NamedTempFile(const std::string& pfx, const Streamer& func, apr_pool_t* pool=gAPRPoolp): | 
