Skip to content

Commit

Permalink
Add another rvalue constructor for the Value class
Browse files Browse the repository at this point in the history
refs #12555
  • Loading branch information
gunnarbeutner committed Aug 26, 2016
1 parent dac0ff9 commit c1a5844
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/base/value.hpp
Expand Up @@ -91,6 +91,10 @@ class I2_BASE_API Value
: m_Value(value)
{ }

inline Value(String&& value)
: m_Value(value)
{ }

inline Value(const char *value)
: m_Value(String(value))
{ }
Expand Down

0 comments on commit c1a5844

Please sign in to comment.