Skip to content

Commit 1991c49

Browse files
committed
neorados: include cleanup
Signed-off-by: Max Kellermann <[email protected]>
1 parent bbcd13b commit 1991c49

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/neorados/RADOS.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include "common/common_init.h"
2929
#include "common/hobject.h"
3030
#include "common/EventTrace.h"
31+
#include "log/Log.h"
3132

3233
#include "global/global_init.h"
3334

src/neorados/RADOSImpl.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@
1212
*
1313
*/
1414

15+
#include "RADOSImpl.h"
1516

1617
#include <boost/system/system_error.hpp>
1718

1819
#include "common/common_init.h"
1920

2021
#include "global/global_init.h"
2122

22-
#include "RADOSImpl.h"
23-
2423
namespace neorados {
2524
namespace detail {
2625

src/neorados/RADOSImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
#ifndef CEPH_NEORADOS_RADOSIMPL_H
1515
#define CEPH_NEORADOS_RADOSIMPL_H
1616

17-
#include <functional>
1817
#include <memory>
1918
#include <string>
2019

21-
#include <boost/asio/io_context.hpp>
2220
#include <boost/intrusive_ptr.hpp>
2321

2422
#include "common/ceph_context.h"
@@ -32,6 +30,8 @@
3230

3331
#include "osdc/Objecter.h"
3432

33+
namespace boost::asio { class io_context; }
34+
3535
namespace neorados {
3636

3737
class RADOS;

0 commit comments

Comments
 (0)