Skip to content

Commit

Permalink
21053: Fixes gcc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
howsohazard committed Jul 26, 2024
1 parent e8d094f commit be84eef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Amalgam/evaluablenode/EvaluableNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,35 +239,35 @@ class EvaluableNode
}

//Returns true if the node is some form of associative array
static constexpr bool IsAssociativeArray(EvaluableNode *n)
static __forceinline bool IsAssociativeArray(EvaluableNode *n)
{
if(n == nullptr)
return false;
return n->IsAssociativeArray();
}

//returns true if the type is immediate
constexpr bool IsImmediate()
__forceinline bool IsImmediate()
{
return IsEvaluableNodeTypeImmediate(GetType());
}

//Returns true if the node is some form of ordered array
constexpr bool IsOrderedArray()
__forceinline bool IsOrderedArray()
{
return DoesEvaluableNodeTypeUseOrderedData(GetType());
}

//Returns true if the node is some form of ordered array
static constexpr bool IsOrderedArray(EvaluableNode *n)
static __forceinline bool IsOrderedArray(EvaluableNode *n)
{
if(n == nullptr)
return false;
return n->IsOrderedArray();
}

//returns true if the EvaluableNode is of a query type
static constexpr bool IsQuery(EvaluableNode *n)
static __forceinline bool IsQuery(EvaluableNode *n)
{
return (n != nullptr && IsEvaluableNodeTypeQuery(n->GetType()));
}
Expand Down

0 comments on commit be84eef

Please sign in to comment.