From 6824b69ae9d07dca65abe3e12e3916196b475f3e Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 24 Jun 2020 09:34:40 -0400 Subject: [PATCH] add missing include --- unittest/force-styles/test_main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest/force-styles/test_main.cpp b/unittest/force-styles/test_main.cpp index e9d08b61c4..62ddc2c32e 100644 --- a/unittest/force-styles/test_main.cpp +++ b/unittest/force-styles/test_main.cpp @@ -14,6 +14,7 @@ #include "test_main.h" #include "test_config.h" #include "test_config_reader.h" +#include "utils.h" #include "gmock/gmock.h" #include "gtest/gtest.h" @@ -23,6 +24,8 @@ #include #include +using LAMMPS_NS::utils::split_words; + // common read_yaml_file function bool read_yaml_file(const char *infile, TestConfig &config) { @@ -79,7 +82,7 @@ int main(int argc, char **argv) } // handle arguments passed via environment variable - std::vector env = utils::split_words(getenv("TEST_ARGS")); + std::vector env = split_words(getenv("TEST_ARGS")); for (auto arg : env) { if (arg == "-u") { generate_yaml_file(argv[1], test_config);