reduce warnings and improve portability

This commit is contained in:
Axel Kohlmeyer
2021-12-09 13:55:53 -05:00
parent 8f0dea91c7
commit 878dd746db
5 changed files with 7 additions and 7 deletions

View File

@ -2,6 +2,7 @@
#include "lammps.h"
#include "library.h"
#include "platform.h"
#include <string>
#include "gmock/gmock.h"
@ -76,8 +77,8 @@ TEST_F(LibraryCommands, from_file)
if (!verbose) ::testing::internal::GetCapturedStdout();
EXPECT_EQ(lammps_get_natoms(lmp), 2);
unlink(demo_file);
unlink(cont_file);
LAMMPS_NS::platform::unlink(demo_file);
LAMMPS_NS::platform::unlink(cont_file);
};
TEST_F(LibraryCommands, from_line)