ALL: Cleanup guards names. Fixed compilation.

This commit is contained in:
Pawel Kolodziejski 2020-10-05 21:20:43 +02:00
parent fe7645c37e
commit 0e42d4f504
3 changed files with 5 additions and 5 deletions

View file

@ -20,8 +20,8 @@
*
*/
#ifndef BACKENDS_GRAPHICS3D_SDL_SDLGRAPHICS_H
#define BACKENDS_GRAPHICS3D_SDL_SDLGRAPHICS_H
#ifndef BACKENDS_GRAPHICS3D_SDL_SDLGRAPHICS3D_H
#define BACKENDS_GRAPHICS3D_SDL_SDLGRAPHICS3D_H
#include "backends/graphics3d/graphics3d.h"
#include "backends/platform/sdl/sdl-window.h"

View file

@ -20,8 +20,8 @@
*
*/
#ifndef BACKENDS_GRAPHICS3D_SURFACESDL_GRAPHICS_H
#define BACKENDS_GRAPHICS3D_SURFACESDL_GRAPHICS_H
#ifndef BACKENDS_GRAPHICS3D_SURFACESDL_GRAPHICS3D_H
#define BACKENDS_GRAPHICS3D_SURFACESDL_GRAPHICS3D_H
#include "backends/graphics3d/sdl/sdl-graphics3d.h"

View file

@ -93,7 +93,7 @@ template<class T, typename S = void *> class Callback: public BaseCallback<S> {
protected:
typedef void(T::*TMethod)(S);
T *_object;
;
TMethod _method;
public:
Callback(T *object, TMethod method): _object(object), _method(method) {}
virtual ~Callback() {}