Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | From 1def5b4278d97f197520d23c1dce52f93a1b2f46 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrej Valek <andrej.valek@siemens.com> |
| 3 | Date: Tue, 9 Apr 2019 09:40:30 +0200 |
| 4 | Subject: [PATCH] splay.cc: fix bind is not a member of std |
| 5 | |
| 6 | fix |
| 7 | | ../../squid-4.6/test-suite/splay.cc:134:28: error: 'bind' is not a member of 'std' |
| 8 | | auto nextRandom = std::bind (distribution, generator); |
| 9 | | ^~~~ |
| 10 | | ../../squid-4.6/test-suite/splay.cc:134:28: note: 'std::bind' is defined in header '<functional>'; did you forget to '#include <functional>'? |
| 11 | |
| 12 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> |
| 13 | --- |
| 14 | test-suite/splay.cc | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/test-suite/splay.cc b/test-suite/splay.cc |
| 18 | index f71b337..4e21adc 100644 |
| 19 | --- a/test-suite/splay.cc |
| 20 | +++ b/test-suite/splay.cc |
| 21 | @@ -20,6 +20,7 @@ |
| 22 | #include <unistd.h> |
| 23 | #endif |
| 24 | #include <random> |
| 25 | +#include <functional> |
| 26 | |
| 27 | class intnode |
| 28 | { |
| 29 | -- |
| 30 | 2.11.0 |
| 31 | |