Skip to content

Commit 235d329

Browse files
committed
Small changes
1 parent 331bc26 commit 235d329

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

Libs/Framework/Src/AST/Utils/Statements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ namespace Rift::AST::Statements
222222
id = access.Get<const CStmtOutput>(id).linkInputNode;
223223
}
224224

225-
if (const auto* outputs = access.TryGet<const CStmtOutputs>(id))
225+
if (access.Has<CStmtOutputs>(id))
226226
{
227227
splitStmtId = id;
228228
}

Tests/AST/Statements.spec.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ using namespace bandit;
1313
using namespace Rift;
1414

1515

16-
struct Type
17-
{
18-
bool value = false;
19-
};
20-
struct TypeTwo
21-
{};
22-
23-
2416
go_bandit([]() {
2517
describe("AST.Statements", []() {
2618
it("Initializes outputs correctly", [&]() {

0 commit comments

Comments
 (0)