From fa611574101cd657a0716aaf2028b5bc852d4a8a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 13 Dec 2022 01:19:10 -0500 Subject: Use std::optional --- src/ClashAvoider.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ClashAvoider.cpp') diff --git a/src/ClashAvoider.cpp b/src/ClashAvoider.cpp index 428dd8ba..9c1d8f28 100644 --- a/src/ClashAvoider.cpp +++ b/src/ClashAvoider.cpp @@ -21,12 +21,11 @@ #include "raul/Path.hpp" #include "raul/Symbol.hpp" -#include - #include #include #include #include +#include #include #include #include @@ -143,7 +142,7 @@ ClashAvoider::exists(const raul::Path& path) const return _store.find(path) != _store.end(); } -static boost::optional +static std::optional numeric_suffix_start(const std::string& str) { if (!isdigit(str[str.length() - 1])) { -- cgit v1.2.1