diff --git a/Tests/BaseLib/TestQuicksort.cpp b/Tests/BaseLib/TestQuicksort.cpp
index 00e847c556218785eab63b29617a25ceabc623c7..cddce7a1d87d65df713ff8f5f40ed89888042e7a 100644
--- a/Tests/BaseLib/TestQuicksort.cpp
+++ b/Tests/BaseLib/TestQuicksort.cpp
@@ -28,7 +28,8 @@ class QuicksortSortsAsSTLSort : public Property<std::vector<int>> {
     bool holdsFor(const std::vector<int>& xs)
     {
         std::vector<size_t> perm(xs.size());
-        //BaseLib::quicksort((int*)&(xs[0]), 0, xs.size(), &(perm[0]));
+        if (! xs.empty())
+        	BaseLib::quicksort((int*)&(xs[0]), 0, xs.size(), &(perm[0]));
         return std::is_sorted(xs.begin(), xs.end());
     }