🚧 gucc: mark Initcpio::write nodiscard to prevent accidental ignore of return value

This commit is contained in:
Vladislav Nepogodin 2024-08-17 03:29:39 +04:00
parent db9e0b16e2
commit 493c5430ba
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -99,7 +99,7 @@ class Initcpio final {
return this->write(); return this->write();
} }
bool write() const noexcept; [[nodiscard]] bool write() const noexcept;
std::vector<std::string> modules{}; std::vector<std::string> modules{};
std::vector<std::string> files{}; std::vector<std::string> files{};