summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 11:59:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 11:59:42 +0300
commitd2d0f28dc720f138e00ceeb70ccb9a68553b98c8 (patch)
tree6ea04cf84c19bebf56c9b8650d33af0528465a60 /src/utils/sdl2helper.cpp
parent34b2fb221130af772356e47b047854c02b0bdef0 (diff)
downloadmanaverse-d2d0f28dc720f138e00ceeb70ccb9a68553b98c8.tar.gz
manaverse-d2d0f28dc720f138e00ceeb70ccb9a68553b98c8.tar.bz2
manaverse-d2d0f28dc720f138e00ceeb70ccb9a68553b98c8.tar.xz
manaverse-d2d0f28dc720f138e00ceeb70ccb9a68553b98c8.zip
add restrict into sdl2helper.
Diffstat (limited to 'src/utils/sdl2helper.cpp')
-rw-r--r--src/utils/sdl2helper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp
index b36fd8733..ff50e29c8 100644
--- a/src/utils/sdl2helper.cpp
+++ b/src/utils/sdl2helper.cpp
@@ -88,7 +88,8 @@ bool SDL::getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info)
}
SDL_Thread *SDL::createThread(SDL_ThreadFunction fn,
- const char *const name, void *const data)
+ const char *restrict const name,
+ void *restrict const data)
{
return SDL_CreateThread(fn, name, data);
}