diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
commit | e15da561988948de26c80105dc9762943009b9e7 (patch) | |
tree | 717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/unittests/utils/xmlutils.cc | |
parent | 71cfaf012217cf3bbbc39207a12131b748535fcc (diff) | |
download | manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.gz manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.bz2 manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.xz manaverse-e15da561988948de26c80105dc9762943009b9e7.zip |
Fix code style, ignore some warning in clang-tidy
Diffstat (limited to 'src/unittests/utils/xmlutils.cc')
-rw-r--r-- | src/unittests/utils/xmlutils.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/unittests/utils/xmlutils.cc b/src/unittests/utils/xmlutils.cc index 848f2ce49..482580af5 100644 --- a/src/unittests/utils/xmlutils.cc +++ b/src/unittests/utils/xmlutils.cc @@ -64,11 +64,11 @@ TEST_CASE("xmlutils readXmlIntVector 1", "") #ifdef USE_SDL2 SDLImageHelper::setRenderer(graphicsManager.createRenderer( - graphicsManager.createWindow(640, 480, 0, + GraphicsManager::createWindow(640, 480, 0, SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE)); #else // USE_SDL2 - graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); + GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); #endif // USE_SDL2 userPalette = new UserPalette; @@ -124,11 +124,11 @@ TEST_CASE("xmlutils readXmlStringMap 1", "") #ifdef USE_SDL2 SDLImageHelper::setRenderer(graphicsManager.createRenderer( - graphicsManager.createWindow(640, 480, 0, + GraphicsManager::createWindow(640, 480, 0, SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE)); #else // USE_SDL2 - graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); + GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); #endif // USE_SDL2 userPalette = new UserPalette; @@ -184,11 +184,11 @@ TEST_CASE("xmlutils readXmlIntMap 1", "") #ifdef USE_SDL2 SDLImageHelper::setRenderer(graphicsManager.createRenderer( - graphicsManager.createWindow(640, 480, 0, + GraphicsManager::createWindow(640, 480, 0, SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE)); #else // USE_SDL2 - graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); + GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); #endif // USE_SDL2 userPalette = new UserPalette; |