diff --git a/src/mbgl/gl/uniform_buffer_gl.cpp b/src/mbgl/gl/uniform_buffer_gl.cpp index 4f1a9a739af..7bc7d470d71 100644 --- a/src/mbgl/gl/uniform_buffer_gl.cpp +++ b/src/mbgl/gl/uniform_buffer_gl.cpp @@ -106,9 +106,9 @@ void UniformBufferGL::update(const void* data, std::size_t dataSize) { assert(isManagedAllocation ? dataSize <= managedBuffer.getContents().size() : dataSize <= size); if (dataSize > size || (isManagedAllocation && dataSize > managedBuffer.getContents().size())) { - Log::Error( - Event::General, - "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + std::to_string(dataSize)); + Log::Error(Event::General, + "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + + std::to_string(dataSize)); return; } diff --git a/src/mbgl/mtl/uniform_buffer.cpp b/src/mbgl/mtl/uniform_buffer.cpp index febf2235f36..f800323225a 100644 --- a/src/mbgl/mtl/uniform_buffer.cpp +++ b/src/mbgl/mtl/uniform_buffer.cpp @@ -28,9 +28,9 @@ UniformBuffer::~UniformBuffer() { void UniformBuffer::update(const void* data, std::size_t dataSize) { assert(dataSize <= size); if (dataSize > size || dataSize > buffer.getSizeInBytes()) { - Log::Error( - Event::General, - "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + std::to_string(dataSize)); + Log::Error(Event::General, + "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + + std::to_string(dataSize)); return; } diff --git a/src/mbgl/vulkan/uniform_buffer.cpp b/src/mbgl/vulkan/uniform_buffer.cpp index f3574fab817..ba9aef60e58 100644 --- a/src/mbgl/vulkan/uniform_buffer.cpp +++ b/src/mbgl/vulkan/uniform_buffer.cpp @@ -28,9 +28,9 @@ UniformBuffer::~UniformBuffer() { void UniformBuffer::update(const void* data, std::size_t dataSize) { assert(dataSize <= size); if (dataSize > size || dataSize > buffer.getSizeInBytes()) { - Log::Error( - Event::General, - "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + std::to_string(dataSize)); + Log::Error(Event::General, + "Mismatched size given to UBO update, expected max " + std::to_string(size) + ", got " + + std::to_string(dataSize)); return; }