summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-08-11 23:40:54 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-08-11 23:40:54 +0100
commit42d39040eeba1839d2e8ff1cdb09b4a5970cfe69 (patch)
tree0b9553c6d9d2f1a9654bcd51be5cbe3c0a72897f
parentAdd perf test over DB SQL select complex (diff)
downloadslicer-42d39040eeba1839d2e8ff1cdb09b4a5970cfe69.tar.bz2
slicer-42d39040eeba1839d2e8ff1cdb09b4a5970cfe69.tar.xz
slicer-42d39040eeba1839d2e8ff1cdb09b4a5970cfe69.zip
Fix to_lower so actually lowers the string
-rw-r--r--slicer/slicer/hookMap.cpp2
-rw-r--r--slicer/slicer/hookMap.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/slicer/slicer/hookMap.cpp b/slicer/slicer/hookMap.cpp
index 6e17a38..3192d6c 100644
--- a/slicer/slicer/hookMap.cpp
+++ b/slicer/slicer/hookMap.cpp
@@ -3,7 +3,7 @@
namespace Slicer {
void
- to_lower(std::string s)
+ to_lower(std::string & s)
{
boost::algorithm::to_lower(s);
}
diff --git a/slicer/slicer/hookMap.h b/slicer/slicer/hookMap.h
index 5f71e17..fe8e646 100644
--- a/slicer/slicer/hookMap.h
+++ b/slicer/slicer/hookMap.h
@@ -10,7 +10,7 @@
#include <visibility.h>
namespace Slicer {
- void DLL_PUBLIC to_lower(std::string s);
+ void DLL_PUBLIC to_lower(std::string & s);
template<typename T> class ModelPartForComplex; // IWYU pragma: keep