Skip to content
Snippets Groups Projects
Commit 80c0ff52 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

inline function fix

parent cdc91a18
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
namespace Dune
{
// create a distributed grid on rank 0. Needs to be load balanced afterwards.
template <class Grid>
struct SerialGridCreator
: public GridCreatorInterface<Grid, SerialGridCreator<Grid>>
......
......@@ -162,10 +162,10 @@ void VtkWriterInterface<GV,DC>
namespace Impl {
template <class T, std::enable_if_t<(sizeof(T)>1), int> = 0>
T const& printable (T const& t) { return t; }
inline T const& printable (T const& t) { return t; }
std::int16_t printable (std::int8_t c) { return std::int16_t(c); }
std::uint16_t printable (std::uint8_t c) { return std::uint16_t(c); }
inline std::int16_t printable (std::int8_t c) { return std::int16_t(c); }
inline std::uint16_t printable (std::uint8_t c) { return std::uint16_t(c); }
} // end namespace Impl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment