mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 13:06:57 +00:00
Merge 'raft: includes used header and use <path/to/header> for include boost headers' from Kefu Chai
at least, we need to access the declarations of exceptions, like`not_a_leader` and `dropped_entry`, so, instead of relying on other header to do this job for us, we should include the header which include the declaration. so, in this chance "raft.h" is include explicitly. also, include boost headers using "<path/to/header>` instead of "path/to/header` for more consistency. Closes #13326 * github.com:scylladb/scylladb: raft: include boost header using <path/to/header> not "path/to/header" raft: include used header
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <boost/range/algorithm/copy.hpp>
|
||||
#include "boost/range/join.hpp"
|
||||
#include <boost/range/join.hpp>
|
||||
#include <map>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/core/future-util.hh>
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "fsm.hh"
|
||||
#include "log.hh"
|
||||
#include "raft.hh"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user