aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-10-17 12:29:24 +0200
committerJake Petroules <jake.petroules@qt.io>2017-10-17 10:41:44 +0000
commit0b68e4a08be53b6913c4a1581931610d5bc74b8e (patch)
tree6849754de2e2f5dd90266cf0cafea2a876c0865a
parent97af1d8cb5632ad0b952bd24187e4aa108f60ccb (diff)
Fix unused function warning
Change-Id: Ia38d236ca94681801cdd4561b4bc07f8a97aa2bd Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/lib/corelib/tools/iosutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/iosutils.h b/src/lib/corelib/tools/iosutils.h
index f165573f8..3fc7b0356 100644
--- a/src/lib/corelib/tools/iosutils.h
+++ b/src/lib/corelib/tools/iosutils.h
@@ -83,7 +83,7 @@ static inline qbs_filesystem_path_string_type utf8_to_native_path(const std::str
#endif
}
-static int rename(const std::string &oldName, const std::string &newName)
+static inline int rename(const std::string &oldName, const std::string &newName)
{
const auto wOldName = utf8_to_native_path(oldName);
const auto wNewName = utf8_to_native_path(newName);