Switched to the #pragma once system
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef BUTTON_HPP_
|
||||
#define BUTTON_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "image.hpp"
|
||||
#include "raster_font.hpp"
|
||||
@@ -90,5 +89,3 @@ private:
|
||||
State state = State::NORMAL;
|
||||
std::string text;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef MENUBAR_HPP_
|
||||
#define MENUBAR_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "image.hpp"
|
||||
#include "raster_font.hpp"
|
||||
@@ -88,5 +87,3 @@ private:
|
||||
|
||||
friend class MenuBar;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef RASTERFONT_HPP_
|
||||
#define RASTERFONT_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "image.hpp"
|
||||
|
||||
@@ -50,5 +49,3 @@ public:
|
||||
private:
|
||||
Image image;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user