Skip to content

Commit a883936

Browse files
committed
Ran clang-format
1 parent 78f0618 commit a883936

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

include/vsg/core/IntrusiveAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ namespace vsg
142142
struct VSG_DECLSPEC SlotTester
143143
{
144144
SlotTester(Element* in_mem, size_t in_head) :
145-
mem(in_mem), head(in_head){};
145+
mem(in_mem), head(in_head) {};
146146

147147
const Element* mem = nullptr;
148148
size_t head = 0;

src/vsg/app/CompileManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ CompileResult CompileManager::compile(ref_ptr<Object> object, ContextSelectionFu
246246
// if no CompileTraversals are available abort compile
247247
if (!compileTraversal)
248248
{
249-
info("Unable to aquire compileTraversal.");
249+
debug("Unable to aquire compileTraversal.");
250250
return result;
251251
}
252252

src/vsg/app/CompileTraversal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void CompileTraversal::add(const Viewer& viewer, const ResourceRequirements& res
189189
ref_ptr<TransferTask> transferTask;
190190

191191
AddViews(CompileTraversal* in_ct, const ResourceRequirements& in_rr) :
192-
ct(in_ct), resourceRequirements(in_rr){};
192+
ct(in_ct), resourceRequirements(in_rr) {};
193193

194194
const char* className() const noexcept override { return "vsg::CompileTraversal::AddViews"; }
195195

src/vsg/core/IntrusiveAllocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ bool IntrusiveAllocator::MemoryBlock::deallocate(void* ptr, std::size_t /*size*/
431431
memory[P].next += memory[C].next;
432432
if (N != 0) memory[N].previous = memory[P].next;
433433

434-
// freeList linked list entries will not need updating.
434+
// freeList linked list entries will not need updating.
435435

436436
#if DEBUG_ALLOCATOR
437437
if (!validate())

src/vsg/utils/GraphicsPipelineConfigurator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,8 @@ int GraphicsPipelineConfigurator::compare(const Object& rhs_object) const
607607
return *lhs.itr;
608608
else if (*rhs.itr < *lhs.itr)
609609
return *rhs.itr;
610-
else { return *rhs.itr; }
610+
else
611+
return *rhs.itr;
611612
}
612613
else
613614
return *lhs.itr;

0 commit comments

Comments
 (0)