Skip to content

Commit

Permalink
fix IWYU
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Dec 5, 2024
1 parent d5abf9f commit 393c765
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/meta/duplication/meta_duplication_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ void meta_duplication_service::list_duplication_info(const duplication_list_requ
zauto_read_lock l(app_lock());

for (const auto &[app_name, app] : _state->_exist_apps) {
if (app->status != app_status::AS_AVAILABLE) {
continue;
}

const auto &err =
utils::pattern_match(app_name, request.app_name_pattern, request.match_type);
if (err == ERR_NOT_MATCHED) {
Expand Down
1 change: 1 addition & 0 deletions src/replica/replica_backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/rpc_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#include "utils/flags.h"
#include "utils/fmt_logging.h"
#include "utils/join_point.h"
#include "utils/strings.h"
#include "utils/utils.h"
#include "utils_types.h"

// init common for all per-node providers
DSN_DEFINE_uint32(core,
Expand Down
5 changes: 2 additions & 3 deletions src/runtime/service_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
#include "utils/join_point.h"
#include "utils/string_conv.h"
#include "utils/strings.h"

using namespace dsn::utils;
#include "utils_types.h"

namespace dsn {

Expand Down Expand Up @@ -211,7 +210,7 @@ void service_engine::init_before_toollets(const service_spec &spec) { _spec = sp
void service_engine::init_after_toollets()
{
// init common providers (second half)
_env = factory_store<env_provider>::create(
_env = utils::factory_store<env_provider>::create(
_spec.env_factory_name.c_str(), PROVIDER_TYPE_MAIN, nullptr);
tls_dsn.env = _env;
}
Expand Down
1 change: 1 addition & 0 deletions src/server/result_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <pegasus/error.h>
#include <chrono>
#include <type_traits>
#include <utility>

#include "pegasus/client.h"
Expand Down
1 change: 1 addition & 0 deletions src/shell/command_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <utility>

#include "shell/argh.h"
#include "utils/ports.h"
#include "utils/strings.h"

namespace dsn {
Expand Down

0 comments on commit 393c765

Please sign in to comment.