Skip to content

Commit efe7a4c

Browse files
committed
destructor for Path
1 parent 91ff9b6 commit efe7a4c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/odr/internal/common/path.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ class Path {
1919
explicit Path(std::string_view string_view);
2020
explicit Path(const std::filesystem::path &path);
2121

22+
Path(const Path &other) noexcept = default;
23+
Path(Path &&other) noexcept = default;
24+
virtual ~Path() noexcept = default;
25+
Path &operator=(const Path &other) noexcept = default;
26+
Path &operator=(Path &&other) noexcept = default;
27+
2228
bool operator==(const Path &other) const noexcept;
2329
bool operator!=(const Path &other) const noexcept;
2430
bool operator<(const Path &other) const noexcept;

0 commit comments

Comments
 (0)