Skip to content

Commit

Permalink
Sometimes you just can't win.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Jan 29, 2025
1 parent d0fc2ac commit f129b14
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cpp/src/Slice/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,7 @@ Slice::SyntaxTreeBase::visit(ParserVisitor* /*visitor*/)
{
}

Slice::SyntaxTreeBase::SyntaxTreeBase(UnitPtr unit) : _unit(std::move(unit))
{
}
Slice::SyntaxTreeBase::SyntaxTreeBase(UnitPtr unit) : _unit(std::move(unit)) {}

// ----------------------------------------------------------------------
// Type
Expand Down Expand Up @@ -527,9 +525,7 @@ Slice::Builtin::kindFromString(string_view str)
return nullopt;
}

Slice::Builtin::Builtin(const UnitPtr& unit, Kind kind) : SyntaxTreeBase(unit), Type(unit), _kind(kind)
{
}
Slice::Builtin::Builtin(const UnitPtr& unit, Kind kind) : SyntaxTreeBase(unit), Type(unit), _kind(kind) {}

// ----------------------------------------------------------------------
// Contained
Expand Down

0 comments on commit f129b14

Please sign in to comment.