Skip to content

Commit

Permalink
Fix compatibility with boost <= 1.53
Browse files Browse the repository at this point in the history
refs #12555
  • Loading branch information
gunnarbeutner committed Aug 27, 2016
1 parent 8f2477d commit 22cabb5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/base/value.hpp
Expand Up @@ -100,7 +100,15 @@ class I2_BASE_API Value
{ }

Value(const Value& other) = default;

#if BOOST_VERSION >= 105400
Value(Value&& other) = default;
#else /* BOOST_VERSION */
Value(Value&& other)
{
m_Value.swap(other.m_Value);
}
#endif /* BOOST_VERSION */

inline Value(Object *value)
{
Expand Down

0 comments on commit 22cabb5

Please sign in to comment.