Skip to content

Commit cfb6639

Browse files
committed
osdc: remove unused rados.h include from error_code.h
Remove unnecessary `#include "include/rados.h"` from error_code.h as it's not used by the header and error_code.h doesn't need to expose any RADOS declarations. This improves compilation time and reduces unnecessary dependencies. Signed-off-by: Kefu Chai <[email protected]>
1 parent 5aeaa10 commit cfb6639

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/osdc/error_code.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
#include <boost/system/error_code.hpp>
1919

20-
#include "include/rados.h"
21-
2220
const boost::system::error_category& osdc_category() noexcept;
2321

2422
enum class osdc_errc {

0 commit comments

Comments
 (0)