mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-18 06:30:54 +00:00
minor indentation change
This commit is contained in:
parent
f4eec65526
commit
c0d19192d2
@ -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:
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user