src/primitives.cpp

changeset 1320
bdb4804bc09c
parent 1319
39d7a9642eea
child 1323
05b3e173c900
--- a/src/primitives.cpp	Sat Mar 24 11:57:24 2018 +0200
+++ b/src/primitives.cpp	Sat Mar 24 12:06:22 2018 +0200
@@ -172,7 +172,7 @@
 	}
 
 	// Sort the categories. Note that we only do this here because we needed the original order for pattern matching.
-	qSort (m_categories.begin(), m_categories.end(),
+	::sort(m_categories.begin(), m_categories.end(),
 		[](PrimitiveCategory* const& one, PrimitiveCategory* const& other) -> bool
 		{
 			return one->name() < other->name();

mercurial