diff --git a/openscenario/openscenario_interpreter/include/openscenario_interpreter/reader/attribute.hpp b/openscenario/openscenario_interpreter/include/openscenario_interpreter/reader/attribute.hpp index 374902fbf5c..e5408e0704f 100644 --- a/openscenario/openscenario_interpreter/include/openscenario_interpreter/reader/attribute.hpp +++ b/openscenario/openscenario_interpreter/include/openscenario_interpreter/reader/attribute.hpp @@ -100,16 +100,16 @@ auto readAttribute(const std::string & name, const Node & node, const Scope & sc extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> Boolean; -extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) - -> UnsignedShort; -extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) - -> UnsignedInteger; extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> Double; +extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) + -> syntax::Rule; extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> String; extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) - -> syntax::Rule; + -> UnsignedShort; +extern template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) + -> UnsignedInteger; template auto readAttribute(const std::string & name, const Node & node, const Scope & scope, T && value) diff --git a/openscenario/openscenario_interpreter/src/reader/attribute.cpp b/openscenario/openscenario_interpreter/src/reader/attribute.cpp index b98d521d540..3e0dc850eca 100644 --- a/openscenario/openscenario_interpreter/src/reader/attribute.cpp +++ b/openscenario/openscenario_interpreter/src/reader/attribute.cpp @@ -88,13 +88,13 @@ auto substitute(const std::string & attribute, const Scope & scope) -> String } template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> Boolean; +template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> Double; +template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) + -> syntax::Rule; +template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> String; template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> UnsignedShort; template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> UnsignedInteger; -template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> Double; -template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) -> String; -template auto readAttribute(const std::string &, const pugi::xml_node &, const Scope &) - -> syntax::Rule; } // namespace reader } // namespace openscenario_interpreter