lib: [[nodiscard]]
This commit is contained in:
parent
08350199e3
commit
35c840ab61
@ -53,7 +53,7 @@ public:
|
|||||||
* @brief Returns the last error message, if any.
|
* @brief Returns the last error message, if any.
|
||||||
* @return The last error message, if any.
|
* @return The last error message, if any.
|
||||||
*/
|
*/
|
||||||
const char *error() const noexcept;
|
[[nodiscard]] const char *error() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool opened;
|
bool opened;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user