From a04dd89365fcadf919bd486a75ba3e4f4629a45a Mon Sep 17 00:00:00 2001 From: SanJacobs Date: Tue, 12 Jul 2022 23:46:53 +0200 Subject: Made timeinput() vastly less tedious --- src/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test.cpp') diff --git a/src/test.cpp b/src/test.cpp index 3d6d78b..8d36f3a 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -78,6 +78,6 @@ void test(){ moment inputmoment = timeinput(); std::cout << "Time reveived: " << timeprint(inputmoment) << std::endl; - moment inputmoment2 = timeinput(2012, 11, 26); + moment inputmoment2 = timeinput(inputmoment); std::cout << "Time reveived: " << timeprint(inputmoment2) << std::endl; } -- cgit v1.2.1