Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
huerni committed Dec 4, 2024
1 parent 1a6ffae commit bdb2f74
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 14 deletions.
2 changes: 0 additions & 2 deletions src/CraneCtld/AccountManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include "AccountManager.h"

#include "crane/Jwt.h"
#include "crane/PasswordEntry.h"
#include "protos/PublicDefs.pb.h"
#include "range/v3/algorithm/contains.hpp"

Expand Down
3 changes: 1 addition & 2 deletions src/CraneCtld/CraneCtld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@
#include <yaml-cpp/yaml.h>

#include <cxxopts.hpp>
#include <filesystem>

#include "AccountManager.h"
#include "CranedKeeper.h"
#include "CranedMetaContainer.h"
#include "CtldForCforedServer.h"
#include "CtldForCranedServer.h"
#include "CtldGrpcServer.h"
#include "CtldPublicDefs.h"
#include "DbClient.h"
Expand Down
2 changes: 0 additions & 2 deletions src/CraneCtld/CtldPublicDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include "CtldPreCompiledHeader.h"
// Precompiled header come first!

#include "crane/GrpcHelper.h"

namespace Ctld {

using moodycamel::ConcurrentQueue;
Expand Down
2 changes: 0 additions & 2 deletions src/CraneCtld/RpcService/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ target_link_libraries(RpcService PUBLIC
Utility_PublicHeader
Utility_PluginClient

dev_event_core
dev_event_pthreads
uvw

cxxopts
Expand Down
2 changes: 0 additions & 2 deletions src/CraneCtld/RpcService/CranedKeeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include "CranedKeeper.h"

#include <google/protobuf/util/time_util.h>

namespace Ctld {

using grpc::ClientContext;
Expand Down
3 changes: 1 addition & 2 deletions src/Craned/Craned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
#include "CforedClient.h"
#include "CranedServer.h"
#include "CtldClient.h"
#include "crane/Network.h"
#include "crane/OS.h"
#include "DeviceManager.h"
#include "crane/PluginClient.h"
#include "crane/String.h"

Expand Down
3 changes: 1 addition & 2 deletions src/Craned/CranedServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

#include <yaml-cpp/yaml.h>

#include "CranedPublicDefs.h"
#include "CtldClient.h"
#include "TaskManager.h"

namespace Craned {

Expand Down

0 comments on commit bdb2f74

Please sign in to comment.