Added missing inline directive in header-only function.
This commit is contained in:
parent
c760edb141
commit
cf786e05b2
@ -23,7 +23,7 @@ T1 location_cast(const T2 &location);
|
|||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
input::Location location_cast(const Clingo::Location &location)
|
inline input::Location location_cast(const Clingo::Location &location)
|
||||||
{
|
{
|
||||||
return {location.begin_file(), location.end_file(), location.begin_line(), location.end_line(),
|
return {location.begin_file(), location.end_file(), location.begin_line(), location.end_line(),
|
||||||
location.begin_column(), location.end_column()};
|
location.begin_column(), location.end_column()};
|
||||||
|
Loading…
Reference in New Issue
Block a user