From cfb66395d6b59b13729a419eb99d2d1c046d4eb8 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 30 Jun 2025 16:48:09 +0800 Subject: [PATCH] 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 --- src/osdc/error_code.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osdc/error_code.h b/src/osdc/error_code.h index 88d6f080a8a..8882749abf5 100644 --- a/src/osdc/error_code.h +++ b/src/osdc/error_code.h @@ -17,8 +17,6 @@ #include -#include "include/rados.h" - const boost::system::error_category& osdc_category() noexcept; enum class osdc_errc { -- 2.39.5