From 4637072a26cb1ed5fad414518050b1c043df520a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 30 Jan 2023 00:08:51 -0500 Subject: [PATCH] simplify --- unittest/testing/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/testing/core.h b/unittest/testing/core.h index b64affc0c7..272d1d21c5 100644 --- a/unittest/testing/core.h +++ b/unittest/testing/core.h @@ -54,7 +54,7 @@ extern bool verbose; class LAMMPSTest : public ::testing::Test { public: - void command(const std::string &line) { lmp->input->one(line.c_str()); } + void command(const std::string &line) { lmp->input->one(line); } void BEGIN_HIDE_OUTPUT() {