From 7c84e27ea70d62abd5079ecba4d04ed46833cb41 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 17 Feb 2016 13:06:59 +0000 Subject: [PATCH] fix compile --- Common/onelab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/onelab.h b/Common/onelab.h index 678b887aab..9674582903 100644 --- a/Common/onelab.h +++ b/Common/onelab.h @@ -770,7 +770,7 @@ namespace onelab{ time_t now; time(&now); std::string t(ctime(&now)); - t.pop_back(); + t.resize(t.size() - 1); json.clear(); json += "{ \"onelab\":{\n"; json += " \"creator\":\"" + creator + "\",\n"; -- GitLab