mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
minor indentation change
This commit is contained in:
parent
f4eec65526
commit
c0d19192d2
@ -278,7 +278,8 @@ public:
|
||||
if (copy_constructor)
|
||||
wrapper->value = copy_constructor(src);
|
||||
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;
|
||||
break;
|
||||
|
||||
@ -288,7 +289,8 @@ public:
|
||||
else if (copy_constructor)
|
||||
wrapper->value = copy_constructor(src);
|
||||
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;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user