]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/lua: fixing incompatible declarations of CephContext
authorRonen Friedman <rfriedma@redhat.com>
Sun, 6 Dec 2020 10:04:36 +0000 (12:04 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 6 Dec 2020 10:04:36 +0000 (12:04 +0200)
Existing forward declaration breaks OSD compilation (clang)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/rgw/rgw_lua_utils.h

index e3a7a132cb18e5206f1fca32457e1920a5525d87..ffd6e7019802e5854dbe1aa0c37bedd31650eeba 100644 (file)
@@ -6,7 +6,7 @@
 #include <ctime>
 #include <lua.hpp>
 
-class CephContext;
+#include "include/common_fwd.h"
 
 namespace rgw::lua {