mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
moved nodeNumberValue so gcc sees it properly
This commit is contained in:
parent
a07a9521e0
commit
caa8ef5d1b
1 changed files with 6 additions and 6 deletions
|
@ -295,12 +295,6 @@ double stringAsNumber(const string_type& str)
|
||||||
} // catch
|
} // catch
|
||||||
} // stringAsNumber
|
} // stringAsNumber
|
||||||
|
|
||||||
template<class string_type, class string_adaptor>
|
|
||||||
double nodeNumberValue(const DOM::Node<string_type>& node)
|
|
||||||
{
|
|
||||||
return stringAsNumber(nodeStringValue<string_type, string_adaptor>(node));
|
|
||||||
} // nodeNumberValue
|
|
||||||
|
|
||||||
template<class string_type, class string_adaptor>
|
template<class string_type, class string_adaptor>
|
||||||
string_type nodeStringValue(const DOM::Node<string_type>& node)
|
string_type nodeStringValue(const DOM::Node<string_type>& node)
|
||||||
{
|
{
|
||||||
|
@ -334,6 +328,12 @@ string_type nodeStringValue(const DOM::Node<string_type>& node)
|
||||||
} // switch
|
} // switch
|
||||||
} // nodeStringValue
|
} // nodeStringValue
|
||||||
|
|
||||||
|
template<class string_type, class string_adaptor>
|
||||||
|
double nodeNumberValue(const DOM::Node<string_type>& node)
|
||||||
|
{
|
||||||
|
return stringAsNumber(nodeStringValue<string_type, string_adaptor>(node));
|
||||||
|
} // nodeNumberValue
|
||||||
|
|
||||||
} // namespace impl
|
} // namespace impl
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in a new issue