mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 12:43:36 +00:00
fixed compile error due to explicit copy constructor
This commit is contained in:
parent
e9aa630185
commit
9029c2affa
@ -145,7 +145,7 @@ struct shared_sdl_surface
|
||||
explicit shared_sdl_surface(SDL_Surface* surf) : surface_(surf)
|
||||
{}
|
||||
|
||||
explicit shared_sdl_surface(const shared_sdl_surface& o) : surface_(o.surface_.get())
|
||||
shared_sdl_surface(const shared_sdl_surface& o) : surface_(o.surface_.get())
|
||||
{
|
||||
sdl_add_ref(get());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user