From aeb8132fc70414a5901cb1f2d2a7373891002582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sat, 24 Jun 2017 15:53:40 +0200 Subject: [PATCH] Added missing inline directives. --- .../pddlparse/detail/normalization/CollectFreeVariables.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pddlparse/include/pddlparse/detail/normalization/CollectFreeVariables.h b/lib/pddlparse/include/pddlparse/detail/normalization/CollectFreeVariables.h index 046a5f9..471139e 100644 --- a/lib/pddlparse/include/pddlparse/detail/normalization/CollectFreeVariables.h +++ b/lib/pddlparse/include/pddlparse/detail/normalization/CollectFreeVariables.h @@ -27,13 +27,13 @@ void collectFreeVariables(const Variant &variant, std::vector &, VariableStack &) +inline void collectFreeVariables(const ast::ConstantPointer &, std::vector &, VariableStack &) { } //////////////////////////////////////////////////////////////////////////////////////////////////// -void collectFreeVariables(const ast::VariablePointer &variable, std::vector &freeVariables, VariableStack &variableStack) +inline void collectFreeVariables(const ast::VariablePointer &variable, std::vector &freeVariables, VariableStack &variableStack) { if (variableStack.contains(*variable->declaration)) return; @@ -48,7 +48,7 @@ void collectFreeVariables(const ast::VariablePointer &variable, std::vector &freeVariables, VariableStack &variableStack) +inline void collectFreeVariables(const ast::PredicatePointer &predicate, std::vector &freeVariables, VariableStack &variableStack) { for (const auto &argument : predicate->arguments) collectFreeVariables(argument, freeVariables, variableStack); @@ -115,7 +115,7 @@ void collectFreeVariables(const ast::OrPointer &or_, std::vector &, VariableStack &) +inline void collectFreeVariables(const ast::UnsupportedPointer &unsupported, std::vector &, VariableStack &) { throw NormalizationException("cannot collect free variables of unsupported “" + unsupported->type + "” expression"); }