dmclock: ‘std::function’ has not been declared

The following error appears during make:

ceph/src/dmclock/test/test_test_client.cc:14:0:
ceph/src/dmclock/test/../sim/src/sim_recs.h:40:12: error: ‘std::function’ has not been declared
       std::function<void()> code) {

Signed-off-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Jos Collin 2017-05-03 10:16:42 +05:30
parent a9fdc4aad4
commit e348713003

View File

@ -21,6 +21,7 @@
#include <string>
#include <mutex>
#include <iostream>
#include <functional>
using ClientId = uint;