Really fix msvc

This commit is contained in:
Jeremy Rifkin 2025-02-01 13:19:25 -06:00
parent 3f2bb684ec
commit 8fb486570b
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4
2 changed files with 4 additions and 2 deletions

View File

@ -16,9 +16,9 @@ namespace cpptrace {
formatter();
~formatter();
formatter(formatter&&) = default;
formatter(formatter&&);
formatter(const formatter&);
formatter& operator=(formatter&&) = default;
formatter& operator=(formatter&&);
formatter& operator=(const formatter&);
formatter& set_header(std::string);

View File

@ -202,7 +202,9 @@ namespace cpptrace {
formatter::formatter() : pimpl(std::unique_ptr<impl>(new impl)) {}
formatter::~formatter() = default;
formatter::formatter(formatter&&) = default;
formatter::formatter(const formatter& other) : pimpl(std::unique_ptr<impl>(new impl(*other.pimpl))) {}
formatter& formatter::operator=(formatter&&) = default;
formatter& formatter::operator=(const formatter& other) {
pimpl = std::unique_ptr<impl>(new impl(*other.pimpl));
return *this;