diff --git a/src/server/geo_family.h b/src/server/geo_family.h index e07027b418c1..265ad1913d39 100644 --- a/src/server/geo_family.h +++ b/src/server/geo_family.h @@ -8,10 +8,6 @@ #include "server/common.h" -namespace facade { -class SinkReplyBuilder; -} // namespace facade - namespace dfly { class CommandRegistry; @@ -20,7 +16,6 @@ struct CommandContext; class GeoFamily { public: static void Register(CommandRegistry* registry); - using SinkReplyBuilder = facade::SinkReplyBuilder; private: static void GeoAdd(CmdArgList args, const CommandContext& cmd_cntx); diff --git a/src/server/zset_family.h b/src/server/zset_family.h index 5d30ef0deadb..c247c98adf89 100644 --- a/src/server/zset_family.h +++ b/src/server/zset_family.h @@ -74,6 +74,7 @@ class ZSetFamily { using SinkReplyBuilder = facade::SinkReplyBuilder; template using OpResult = facade::OpResult; + // Used by GeoFamily also static void ZAddGeneric(std::string_view key, const ZParams& zparams, ScoredMemberSpan memb_sp, Transaction* tx, SinkReplyBuilder* builder);