Skip to content

Commit

Permalink
Autoformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vk2gpu committed Feb 19, 2018
1 parent eda6582 commit 3f64798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/core/private/string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@

namespace Core
{
IAllocator& StringAllocator::allocator_ = *[]()
{
IAllocator& StringAllocator::allocator_ = *[]() {
static AllocatorTLSF alloc(GeneralAllocator(), 1024 * 1024);
return &Core::CreateAllocationTracker(alloc, "General/String");
}();

bool StringConvertUTF16toUTF8(const wchar* src, i32 srcLength, char* dst, i32 dstLength)
{
DBG_ASSERT(src);
Expand Down
3 changes: 1 addition & 2 deletions src/graphics/private/render_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,7 @@ namespace Graphics
auto cmdHandle = impl_->cmdHandles_[idx];
if(!GPU::Manager::SubmitCommandLists(cmdHandle))
{
DBG_ASSERT_MSG(
false, "Failed to submit command list for render pass \"%s\".", entry->name_.data());
DBG_ASSERT_MSG(false, "Failed to submit command list for render pass \"%s\".", entry->name_.data());
return false;
}
}
Expand Down

0 comments on commit 3f64798

Please sign in to comment.