diff options
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)); |