diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
commit | a8acf366d3e943fb636e24b69c8c67152770d2cc (patch) | |
tree | 99d51b8b56489fd03f32cd291e8570834954ac90 /src/gui | |
parent | e2b84bddbb089f43a9c2c3741545378614481a32 (diff) | |
download | manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2 manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fonts/textchunklist.h | 6 | ||||
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/fonts/textchunklist.h b/src/gui/fonts/textchunklist.h index ce68d3931..f2cd7b63f 100644 --- a/src/gui/fonts/textchunklist.h +++ b/src/gui/fonts/textchunklist.h @@ -36,9 +36,11 @@ class TextChunkList final A_DELETE_COPY(TextChunkList) - void insertFirst(TextChunk *restrict const item) restrict2 A_NONNULL(2); + void insertFirst(TextChunk *restrict const item) + restrict2 A_NONNULL(2); - void moveToFirst(TextChunk *restrict const item) restrict2 A_NONNULL(2); + void moveToFirst(TextChunk *restrict const item) + restrict2 A_NONNULL(2); void remove(const TextChunk *restrict const item) restrict2; diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index f6d7173d0..a23e24437 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -496,7 +496,8 @@ size_t WhoIsOnline::memoryWrite(void *restrict ptr, if (!stream) return 0; - WhoIsOnline *restrict const wio = reinterpret_cast<WhoIsOnline *restrict>(stream); + WhoIsOnline *restrict const wio = + reinterpret_cast<WhoIsOnline *restrict>(stream); const size_t totalMem = size * nmemb; wio->mMemoryBuffer = static_cast<char*>(realloc(wio->mMemoryBuffer, static_cast<size_t>(wio->mDownloadedBytes) + totalMem)); |