aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Morten Kvarving <spiff@kodi.tv>2024-06-30 13:05:22 +0200
committerArne Morten Kvarving <spiff@kodi.tv>2024-06-30 13:05:22 +0200
commit5a750d7084871d7442a9a9468ed7141763f418f9 (patch)
treee5ca4835dc11d9c4f0caf26612d06e4fa60caa95
parent382375835424353e115b8437941d4a3b580571a0 (diff)
add std:: prefix to shut up ksooo-format
-rw-r--r--xbmc/utils/Mime.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/utils/Mime.cpp b/xbmc/utils/Mime.cpp
index 529ae109b0..63c4ac8b70 100644
--- a/xbmc/utils/Mime.cpp
+++ b/xbmc/utils/Mime.cpp
@@ -17,6 +17,7 @@
#include "video/VideoInfoTag.h"
#include <algorithm>
+#include <cctype>
#include <unordered_map>
namespace
@@ -534,7 +535,7 @@ std::string CMime::GetMimeType(const std::string &extension)
size_t posNotPoint = ext.find_first_not_of('.');
if (posNotPoint != std::string::npos && posNotPoint > 0)
ext = extension.substr(posNotPoint);
- transform(ext.begin(), ext.end(), ext.begin(), ::tolower);
+ std::transform(ext.begin(), ext.end(), ext.begin(), ::tolower);
const auto& mime_map = GetMap();
const auto it = mime_map.find(ext);