Skip to content

Commit

Permalink
Tidy up directory.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er committed Jan 28, 2024
1 parent 838c885 commit 6c8dccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/directory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ std::filesystem::path create(std::string_view prefix) {

namespace tmp {

directory::directory(std::string_view prefix) : path(create(prefix)) {}
directory::directory(std::string_view prefix)
: path(create(prefix)) {}

std::filesystem::path directory::operator/(std::string_view source) const {
return static_cast<const std::filesystem::path&>(*this) / source;
Expand All @@ -35,5 +36,4 @@ directory::~directory() noexcept = default;

directory::directory(directory&&) noexcept = default;
directory& directory::operator=(directory&&) noexcept = default;

} // namespace tmp

0 comments on commit 6c8dccb

Please sign in to comment.