summaryrefslogtreecommitdiffhomepage
path: root/statistics.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-05 18:56:10 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-05 18:56:10 +0100
commitd2690b7c3639cc1555b34d002de782976cbb6845 (patch)
tree630a4d2c85001e52854e5b51a36728f1f9488d31 /statistics.cpp
parent15b6682b177dda1bc64384c7ff1a82e88917c2e5 (diff)
Fix statistics (API), added auth test
Diffstat (limited to 'statistics.cpp')
-rw-r--r--statistics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/statistics.cpp b/statistics.cpp
index 6138cca..1d67bfd 100644
--- a/statistics.cpp
+++ b/statistics.cpp
@@ -17,7 +17,7 @@ void Statistics::load()
std::cout << "Loading statistics..." << std::endl;
std::ifstream file{statsfilepath, std::ios::in | std::ios::binary};
if (file.is_open()) {
- Serialization::IArchive archive{file};
+ Reichwein::Serialization::IArchive archive{file};
archive >> mBins;
} else {
@@ -34,7 +34,7 @@ void Statistics::save()
std::cout << "Saving statistics..." << std::endl;
std::ofstream file{statsfilepath, std::ios::out | std::ios::binary | std::ios::trunc};
if (file.is_open()) {
- Serialization::OArchive archive{file};
+ Reichwein::Serialization::OArchive archive{file};
archive << mBins;
} else {