Added missing inline directive in header-only function.

This commit is contained in:
Patrick Lühne 2016-11-24 13:27:22 +01:00
parent c760edb141
commit cf786e05b2
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -23,7 +23,7 @@ T1 location_cast(const T2 &location);
////////////////////////////////////////////////////////////////////////////////////////////////////
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(),
location.begin_column(), location.end_column()};