[nostalgia/core/studio] Add some missing nodiscards

This commit is contained in:
Gary Talent 2022-02-04 00:06:07 -06:00
parent 40ce78c684
commit f34a09351f
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,7 @@ class TileSheetGrid {
void setBufferObjects(const NostalgiaGraphic &img, glutils::BufferSet *bg) noexcept;
[[nodiscard]]
class ImVec2 pixelSize() const noexcept;
};

View File

@ -55,7 +55,8 @@ class TileSheetPixels {
void setBufferObjects(const NostalgiaGraphic &img, const NostalgiaPalette &pal, glutils::BufferSet *bg) noexcept;
class ImVec2 pixelSize() const noexcept;
[[nodiscard]]
ImVec2 pixelSize() const noexcept;
};