From 423b4de7f6b03647a40f048156b0590f4175d2d5 Mon Sep 17 00:00:00 2001 From: Nick P Date: Wed, 7 Aug 2024 20:16:46 -0600 Subject: [PATCH] fixed trace_tool/src/Main.cpp compilation error in ubuntu-latest docker image Compilation was failing with the below error message on ubuntu-latest docker image after doing the apt updates & upgrades: error: no member named 'put_time' in namespace 'std' return std::put_time(std::localtime(&c_time), "%FT%T%z"); --- tool/trace_tool/src/Main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/trace_tool/src/Main.cpp b/tool/trace_tool/src/Main.cpp index 2c07dc2d..2bb79a73 100644 --- a/tool/trace_tool/src/Main.cpp +++ b/tool/trace_tool/src/Main.cpp @@ -6,6 +6,7 @@ #include #include #include +#include // for std::put_time using minecpp::nbt::CompoundContent; @@ -100,4 +101,4 @@ int main(int argc, char **argv) } return 0; -} \ No newline at end of file +}