Added missing header
authorkhizmax <libcds.dev@gmail.com>
Thu, 16 Apr 2015 18:37:08 +0000 (21:37 +0300)
committerkhizmax <libcds.dev@gmail.com>
Thu, 16 Apr 2015 18:37:08 +0000 (21:37 +0300)
cds/opt/permutation.h

index 62fe61ebcc44d37a1ffbb2451b1d92f2fab08489..595522e6af355945cc6da5f2a51701a98c4eff3c 100644 (file)
@@ -3,9 +3,11 @@
 #ifndef CDSLIB_OPT_PERMUTATION_H
 #define CDSLIB_OPT_PERMUTATION_H
 
-#include <cds/opt/options.h>
 #include <stdlib.h> // rand, srand
 #include <random>
+#include <algorithm> // std::shuffle
+
+#include <cds/opt/options.h>
 
 namespace cds { namespace opt {