From 6d9f02916e208000c3278fd91c3edb80ed4396ea Mon Sep 17 00:00:00 2001 From: marek-trtik Date: Tue, 3 Oct 2017 16:59:32 +0100 Subject: [PATCH] Updates requested in the PR. --- src/util/file_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/file_util.cpp b/src/util/file_util.cpp index 2e80eb5db01..92ff1d8e616 100644 --- a/src/util/file_util.cpp +++ b/src/util/file_util.cpp @@ -210,7 +210,7 @@ std::string fileutl_parse_extension_in_pathname(const std::string &pathname) const std::size_t slash_idx= fwd_slash_idx==std::string::npos ? bwd_slash_idx : bwd_slash_idx==std::string::npos ? fwd_slash_idx : - std::max(fwd_slash_idx, bwd_slash_idx); + std::max(fwd_slash_idx, bwd_slash_idx); # elif defined(__linux__) || defined(__APPLE__) const std::size_t slash_idx=pathname.find_last_of('/'); # else