mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 16:13:53 +00:00
Resolving gcc warning-as-error (many versions, old and new).
This commit is contained in:
parent
553054b26b
commit
6214137c8d
@ -19,7 +19,9 @@ struct Sft : std::enable_shared_from_this<Sft> {
|
|||||||
// "Group of 4" begin.
|
// "Group of 4" begin.
|
||||||
// This group is not meant to be used, but will leave a trace in the
|
// This group is not meant to be used, but will leave a trace in the
|
||||||
// history in case something goes wrong.
|
// history in case something goes wrong.
|
||||||
Sft(const Sft &other) { history = other.history + "_CpCtor"; }
|
Sft(const Sft &other) : std::enable_shared_from_this<Sft>{} {
|
||||||
|
history = other.history + "_CpCtor";
|
||||||
|
}
|
||||||
|
|
||||||
Sft(Sft &&other) { history = other.history + "_MvCtor"; }
|
Sft(Sft &&other) { history = other.history + "_MvCtor"; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user