aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSan Jacobs2022-07-28 15:38:12 +0200
committerSan Jacobs2022-07-28 15:38:12 +0200
commitdad85b5baead280b88a8ba272c0b8cfe63d834cf (patch)
treef63130657f72a3a99e7fb5785b93415f6fc4e63d /src
parent5a5a0805dfe25f06af59039f5a89e2d0a3dbc6c4 (diff)
downloadsatscalc-dad85b5baead280b88a8ba272c0b8cfe63d834cf.tar.gz
satscalc-dad85b5baead280b88a8ba272c0b8cfe63d834cf.tar.bz2
satscalc-dad85b5baead280b88a8ba272c0b8cfe63d834cf.zip
Removed GCC dependancy
Diffstat (limited to 'src')
-rwxr-xr-xsrc/time.cpp2
-rwxr-xr-xsrc/time.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/time.cpp b/src/time.cpp
index f9a1a6e..8507f0f 100755
--- a/src/time.cpp
+++ b/src/time.cpp
@@ -137,7 +137,7 @@ workday::workday(const moment& previous_wrap,
previous_wrap+(delta){0, 10, 0}, // Sleepbreach, 10 hours after previous wrap 0x
(moment){0, 5, call.day, call.month, call.year}, // 2 hours before 7, aka 5 1
- (moment){0, 6, call.day, call.month, call.year}, // 6 in the morning 2
+ (moment){0, 6, call.day, call.month, call.year}, // 6 in the morning 2x
call+(delta){0, 8, 0}, // Normal 8 hours of work 3x
call+(delta){0, 9, 0}, // 1st hour of overtime is over 4
planned_wraptime, // End of warned overtime 5
diff --git a/src/time.h b/src/time.h
index ff228d3..66c9e8c 100755
--- a/src/time.h
+++ b/src/time.h
@@ -5,7 +5,7 @@
#include <iomanip>
#include <string.h>
#include <vector>
-#include <bits/stdc++.h>
+#include <algorithm>
enum weekday{
monday,