We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e1b4c1 commit 96c583aCopy full SHA for 96c583a
include/fsmod/File.hpp
@@ -66,7 +66,7 @@ namespace simgrid::fsmod {
66
/** Retrieves the current file position */
67
[[nodiscard]] sg_size_t tell() const { return current_position_; }
68
69
- std::unique_ptr<FileStat> stat() const;
+ [[nodiscard]] std::unique_ptr<FileStat> stat() const;
70
};
71
72
} // namespace simgrid::fsmod
0 commit comments