Skip to content

Commit 2cefcec

Browse files
committed
fix: fix exported property on a function in core/helper/color.hpp
1 parent 419dc98 commit 2cefcec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/core/helper/color.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ struct Color {
260260
return Color{ 0xFF, 0xFF, 0xFF, alpha };
261261
};
262262

263-
[[nodiscard]] std::string to_string(color::SerializeMode mode = color::SerializeMode::RGB, bool force_alpha = false)
264-
const;
263+
OOPETRIS_EXPORTED [[nodiscard]] std::string
264+
to_string(color::SerializeMode mode = color::SerializeMode::RGB, bool force_alpha = false) const;
265265

266266
OOPETRIS_EXPORTED std::ostream& operator<<(std::ostream& os) const;
267267
};

0 commit comments

Comments
 (0)