raft: add missing include
Add missing include of "<experimental/source_location>" which caused
compile errors on GCC:
In file included from raft/fsm.hh:12,
from raft/fsm.cc:8:
raft/raft.hh:251:30: error: ‘std::experimental’ has not been declared
251 | state_machine_error(std::experimental::source_location l = std::experimental::source_location::current())
| ^~~~~~~~~~~~
raft/raft.hh:251:59: error: expected ‘)’ before ‘l’
251 | state_machine_error(std::experimental::source_location l = std::experimental::source_location::current())
| ~ ^~
Note that there are some GCC compilation problems still left apart from
this one.
Closes #10155
This commit is contained in:
committed by
Kamil Braun
parent
3b5ba5c1a9
commit
e99f487d31
@@ -10,6 +10,7 @@
|
||||
#include <vector>
|
||||
#include <unordered_set>
|
||||
#include <functional>
|
||||
#include <experimental/source_location>
|
||||
#include <boost/container/deque.hpp>
|
||||
#include <seastar/core/lowres_clock.hh>
|
||||
#include <seastar/core/future.hh>
|
||||
|
||||
Reference in New Issue
Block a user