Skip to content

Commit

Permalink
[cleanup] imports (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandavila authored Dec 27, 2023
1 parent f7eea98 commit 245b899
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
7 changes: 7 additions & 0 deletions src/client/client_utils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#include "client_utils.h"

#include "constants.h"
#include "encryption_engine.h"

#include <sstream>
#include <argparse/argparse.hpp>
#include <mutex>

std::mutex fileMutex;

bool moreOperationsExist(ClientConfig &config) {
Expand Down
7 changes: 1 addition & 6 deletions src/client/client_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
#define CLIENT_UTILS_H

#include <fstream>
#include <mutex>
#include <string>
#include <sodium.h>
#include <sstream>
#include <argparse/argparse.hpp>

#include "constants.h"
#include "encryption_engine.h"
#include "RPC.h"
#include "redis.h"

struct ClientConfig {
std::ifstream seed_data;
Expand Down
1 change: 0 additions & 1 deletion src/enclave/ecalls.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.

#include <iostream>
#include <openenclave/enclave.h>
#include <string>

Expand Down
1 change: 0 additions & 1 deletion src/host/host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License.

#include <cassert>
#include <iostream>
#include <openenclave/host.h>
#include <thrift/concurrency/ThreadFactory.h>
#include <thrift/concurrency/ThreadManager.h>
Expand Down
1 change: 0 additions & 1 deletion src/libcommon/src/encryption_engine.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "encryption_engine.h"
#include <iostream>

std::string encryption_engine::extractKey(const std::string& encryptedKey) {
for(int i = encryptedKey.size() - 1; i >= 0; --i) {
Expand Down
1 change: 0 additions & 1 deletion src/libstorage/include/redis.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef REDIS_H
#define REDIS_H

#include <iostream>
#include <sw/redis++/redis++.h>

#include "StorageInterface.h"
Expand Down

0 comments on commit 245b899

Please sign in to comment.