Skip to content

Commit 5029ad3

Browse files
committed
Refactor Compiler class for improved organization and clarity
1 parent 8d3bd38 commit 5029ad3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Compiler/Compiler.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
#include <filesystem>
33
#include <fstream>
44

5-
#define ASSERT_ON_SLANG_FAIL(x) \
6-
{ \
7-
SlangResult _res = (x); \
8-
assert(SLANG_SUCCEEDED(_res)); \
5+
#define ASSERT_ON_SLANG_FAIL(x) \
6+
{ \
7+
assert(SLANG_SUCCEEDED((x))); \
98
}
109

1110
namespace rv {

0 commit comments

Comments
 (0)