Skip to content
Snippets Groups Projects
Commit cdbf69ce authored by Christian Engwer's avatar Christian Engwer
Browse files

ostrema-operator must be inlined, otherwise we get multiple instaces

and the linker is confused.

[[Imported from SVN: r749]]
parent c61f05d7
No related branches found
No related tags found
No related merge requests found
......@@ -85,11 +85,11 @@ namespace Dune {
std::string _message;
};
void Exception::message(std::string message) {
inline void Exception::message(std::string message) {
_message = message;
};
std::ostream& operator<<(std::ostream &stream, Exception &e) {
inline std::ostream& operator<<(std::ostream &stream, Exception &e) {
return stream << e.what();
};
......
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