projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6f290
)
Added missing header
author
khizmax
<libcds.dev@gmail.com>
Thu, 16 Apr 2015 18:37:08 +0000
(21:37 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Thu, 16 Apr 2015 18:37:08 +0000
(21:37 +0300)
cds/opt/permutation.h
patch
|
blob
|
history
diff --git
a/cds/opt/permutation.h
b/cds/opt/permutation.h
index 62fe61ebcc44d37a1ffbb2451b1d92f2fab08489..595522e6af355945cc6da5f2a51701a98c4eff3c 100644
(file)
--- a/
cds/opt/permutation.h
+++ b/
cds/opt/permutation.h
@@
-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 {