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

Add inline to splitFilename

parent 6d7713fb
No related branches found
No related tags found
1 merge request!477Add inline to splitFilename
Pipeline #43346 passed
......@@ -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