summaryrefslogtreecommitdiffstats
path: root/src/djinterop/impl/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/djinterop/impl/util.cpp')
-rw-r--r--src/djinterop/impl/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/djinterop/impl/util.cpp b/src/djinterop/impl/util.cpp
index e9d37c6..10c1159 100644
--- a/src/djinterop/impl/util.cpp
+++ b/src/djinterop/impl/util.cpp
@@ -26,10 +26,10 @@ std::string get_filename(const std::string& file_path)
return file_path.substr(slash_pos + 1);
}
-boost::optional<std::string> get_file_extension(const std::string& file_path)
+std::optional<std::string> get_file_extension(const std::string& file_path)
{
auto filename = get_filename(file_path);
- boost::optional<std::string> file_extension;
+ std::optional<std::string> file_extension;
auto dot_pos = filename.rfind('.');
if (dot_pos != std::string::npos)
{