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

Merge branch 'issue/patch-18381' into 'master'

Add inline to splitFilename

See merge request !477
parents 6d7713fb 048f9a9d
No related branches found
No related tags found
No related merge requests found
......@@ -847,7 +847,7 @@ namespace Dune
Setter(rows, matrix);
}
std::tuple<std::string, std::string> splitFilename(const std::string& filename) {
inline std::tuple<std::string, std::string> splitFilename(const std::string& filename) {
std::size_t lastdot = filename.find_last_of(".");
if(lastdot == std::string::npos)
return std::make_tuple(filename, "");
......
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