Skip to content

Commit 05c2cf5

Browse files
committed
Warning fixes
1 parent 634aac7 commit 05c2cf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/vsg/utils/TracyInstrumentation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ namespace vsg
103103
}
104104

105105
TracyInstrumentation(TracyInstrumentation& parent) :
106+
Instrumentation(),
106107
settings(parent.settings),
107108
contexts(parent.contexts)
108109
{
@@ -171,7 +172,7 @@ namespace vsg
171172

172173
void enterCommandBuffer(const SourceLocation* slcloc, uint64_t& reference, CommandBuffer& commandBuffer) const override
173174
{
174-
if (ctx = contexts->getOrCreateContext(commandBuffer))
175+
if ((ctx = contexts->getOrCreateContext(commandBuffer)))
175176
{
176177
enter(slcloc, reference, commandBuffer, nullptr);
177178
}

0 commit comments

Comments
 (0)