From 9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 21:54:28 +0200 Subject: `clang-format` --- mwe/resource-manager/TextureMap.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'mwe/resource-manager/TextureMap.h') diff --git a/mwe/resource-manager/TextureMap.h b/mwe/resource-manager/TextureMap.h index dc8b8d3..04b12a2 100644 --- a/mwe/resource-manager/TextureMap.h +++ b/mwe/resource-manager/TextureMap.h @@ -1,28 +1,26 @@ #pragma once - #include #include #include -class TextureMap final -{ +class TextureMap final { public: - TextureMap(); - ~TextureMap(); + TextureMap(); + ~TextureMap(); - TextureMap(const TextureMap&) = delete; - TextureMap(TextureMap&&) = delete; + TextureMap(const TextureMap &) = delete; + TextureMap(TextureMap &&) = delete; - TextureMap& operator = (const TextureMap&) = delete; - TextureMap& operator = (TextureMap&&) = delete; + TextureMap & operator=(const TextureMap &) = delete; + TextureMap & operator=(TextureMap &&) = delete; - bool loadFromFile(const std::string&, SDL_Renderer*); - SDL_Point getSize() const { return m_size; } + bool loadFromFile(const std::string &, SDL_Renderer *); + SDL_Point getSize() const { return m_size; } - operator SDL_Texture* () { return m_texture; } + operator SDL_Texture *() { return m_texture; } private: - SDL_Texture* m_texture; - SDL_Point m_size; + SDL_Texture * m_texture; + SDL_Point m_size; }; -- cgit v1.2.3