aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSanJacobs2022-07-12 23:46:53 +0200
committerSanJacobs2022-07-12 23:46:53 +0200
commita04dd89365fcadf919bd486a75ba3e4f4629a45a (patch)
treec64ed8d5a1ba9c15382bfc52ff0ddab73eefa68a /src/main.cpp
parent62866cac4eb109490ad1d79a3295a3848da8c134 (diff)
downloadsatscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.tar.gz
satscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.tar.bz2
satscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.zip
Made timeinput() vastly less tedious
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d3b0023..4d96c47 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -61,9 +61,9 @@ int main(int argc, char* argv[])
std::cout << "\n - DAY " << day+1 << "-\nCalltime:\n";
moment calltime = timeinput();
std::cout << "\nWraptime:\n";
- moment wraptime = timeinput();
+ moment wraptime = timeinput(calltime);
std::cout << "\nPlanned wraptime:\n";
- moment planned_wraptime = timeinput();
+ moment planned_wraptime = timeinput(calltime);
workdays.push_back({previous_wrap,
calltime,