aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/data_logger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/p2p/data_logger.hpp')
-rw-r--r--src/p2p/data_logger.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p2p/data_logger.hpp b/src/p2p/data_logger.hpp
index 2b8503df3..50beb847a 100644
--- a/src/p2p/data_logger.hpp
+++ b/src/p2p/data_logger.hpp
@@ -27,12 +27,15 @@ namespace net_utils
{
public:
fileData(){}
+ fileData(const fileData &ob) = delete;
fileData(std::string pFile);
std::shared_ptr<std::ofstream> mFile;
long int mDataToSave = 0;
static double get_current_time();
void save();
+ std::string mPath;
+ bool mLimitFile = false;
};
std::map <std::string, fileData> mFilesMap;