From dad85b5baead280b88a8ba272c0b8cfe63d834cf Mon Sep 17 00:00:00 2001
From: San Jacobs
Date: Thu, 28 Jul 2022 15:38:12 +0200
Subject: Removed GCC dependancy

---
 src/time.cpp | 2 +-
 src/time.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

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,
-- 
cgit v1.2.1