Skip to content
Snippets Groups Projects

Add inline to splitFilename

Merged Simon Praetorius requested to merge issue/patch-18381 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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, "");
Loading