Commit c0d19192 by Wenzel Jakob

minor indentation change

parent f4eec655
...@@ -278,7 +278,8 @@ public: ...@@ -278,7 +278,8 @@ public:
if (copy_constructor) if (copy_constructor)
wrapper->value = copy_constructor(src); wrapper->value = copy_constructor(src);
else else
throw cast_error("return_value_policy = copy, but the object is non-copyable!"); throw cast_error("return_value_policy = copy, but the "
"object is non-copyable!");
wrapper->owned = true; wrapper->owned = true;
break; break;
...@@ -288,7 +289,8 @@ public: ...@@ -288,7 +289,8 @@ public:
else if (copy_constructor) else if (copy_constructor)
wrapper->value = copy_constructor(src); wrapper->value = copy_constructor(src);
else else
throw cast_error("return_value_policy = move, but the object is neither movable nor copyable!"); throw cast_error("return_value_policy = move, but the "
"object is neither movable nor copyable!");
wrapper->owned = true; wrapper->owned = true;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment