From 351f83b6d331eef1fb5e1cbfa8bed25da8f96a57 Mon Sep 17 00:00:00 2001 From: ancarola Date: Fri, 25 Jan 2019 23:47:41 +0100 Subject: Template error on compile signal test --- engine/surface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/surface.cpp') diff --git a/engine/surface.cpp b/engine/surface.cpp index 31f6388..f4729a5 100644 --- a/engine/surface.cpp +++ b/engine/surface.cpp @@ -34,7 +34,7 @@ surface::surface(const char *filename, uint32_t format, SDL_Surface *parent) surface::surface(SDL_Surface *sdl_surface, SDL_Surface *parent) - : flat::core::object(), parent(parent), hide(false) + : flat::object(), parent(parent), hide(false) { this->sdl_surface = new SDL_Surface(*sdl_surface); @@ -55,7 +55,7 @@ surface::surface(SDL_Surface *sdl_surface, SDL_Surface *parent) surface::surface(const surface &sprite) - : flat::core::object(sprite), parent(sprite.parent), + : flat::object(sprite), parent(sprite.parent), hide(sprite.hide) { offset = new SDL_Rect(*sprite.offset); -- cgit v1.2.1