From d049675e9b5993d0ea16d8db58a090981996beb0 Mon Sep 17 00:00:00 2001 From: VaclavT Date: Mon, 10 May 2021 19:08:06 +0200 Subject: [PATCH] remove unused constant endl --- ml.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/ml.cpp b/ml.cpp index 87c109f..d5d83ba 100644 --- a/ml.cpp +++ b/ml.cpp @@ -2008,9 +2008,6 @@ MlValue MlEnvironment::get(const std::string &name) const { if (name == "float") return MlValue("float", builtin::cast_to_float); if (name == "string") return MlValue("string", builtin::cast_to_string); - // Constants - if (name == "endl") return MlValue::string("\n"); - // Other special forms if (name == "benchmark") return MlValue("benchmark", builtin::benchmark);