summaryrefslogtreecommitdiff
path: root/source/core/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/list.h')
-rw-r--r--source/core/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/list.h b/source/core/list.h
index aeba9557f..af32a39ef 100644
--- a/source/core/list.h
+++ b/source/core/list.h
@@ -525,7 +525,7 @@ namespace Slang
void Sort()
{
- Sort([](T& t1, T& t2){return t1<t2;});
+ Sort([](T const& t1, T const& t2){return t1<t2;});
}
bool Contains(const T & val)