summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/hookMap.cpp6
-rw-r--r--slicer/slicer/hookMap.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/slicer/slicer/hookMap.cpp b/slicer/slicer/hookMap.cpp
index 3192d6c..c32db2d 100644
--- a/slicer/slicer/hookMap.cpp
+++ b/slicer/slicer/hookMap.cpp
@@ -7,4 +7,10 @@ namespace Slicer {
{
boost::algorithm::to_lower(s);
}
+
+ std::string
+ to_lower_copy(const std::string & s)
+ {
+ return boost::algorithm::to_lower_copy(s);
+ }
}
diff --git a/slicer/slicer/hookMap.h b/slicer/slicer/hookMap.h
index daef5b0..3328ddd 100644
--- a/slicer/slicer/hookMap.h
+++ b/slicer/slicer/hookMap.h
@@ -11,6 +11,7 @@
namespace Slicer {
void DLL_PUBLIC to_lower(std::string & s);
+ [[nodiscard]] std::string DLL_PUBLIC to_lower_copy(const std::string & s);
template<typename T> class ModelPartForComplex; // IWYU pragma: keep