Commit 80c0ff52 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

inline function fix

parent cdc91a18
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment