Skip to content

Commit

Permalink
Return back a fix for Centos6/7 compilation issues not related to sha…
Browse files Browse the repository at this point in the history
…dow ones
  • Loading branch information
greenozon committed Mar 12, 2024
1 parent fd80a35 commit 8367a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ASTNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void ASTNodeList::removeLast()

void ASTNodeList::removeFirst()
{
m_nodes.erase(m_nodes.cbegin());
m_nodes.erase(m_nodes.begin());
}


Expand Down
2 changes: 1 addition & 1 deletion ASTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static bool printClassDocstring = true;
// shortcut for all top/pop calls
static PycRef<ASTNode> StackPopTop(FastStack& stack)
{
const auto node{ stack.top() };
const auto node(stack.top());
stack.pop();
return node;
}
Expand Down

0 comments on commit 8367a8e

Please sign in to comment.