Skip to content

Commit

Permalink
no need for default dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
frs69wq committed May 16, 2024
1 parent 4e57900 commit 4a42f7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/fsmod/Partition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ namespace simgrid::module::fs {
: name_(std::move(name)), storage_(std::move(storage)), size_(size), free_space_(size) {}

public:
~Partition() = default;
[[nodiscard]] const std::string& get_name() const { return name_; }
[[nodiscard]] const char* get_cname() const { return name_.c_str(); }
[[nodiscard]] sg_size_t get_size() const { return size_; }
Expand Down

0 comments on commit 4a42f7c

Please sign in to comment.