mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-30 17:44:07 +00:00
Fix unity build error by removing using namespace std;
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
b5b333c832
commit
215c19dcc7
@@ -7,8 +7,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace platform
|
||||
{
|
||||
UNIT_TEST(CountryFile_Smoke)
|
||||
@@ -16,7 +14,7 @@ UNIT_TEST(CountryFile_Smoke)
|
||||
{
|
||||
CountryFile cf("One");
|
||||
TEST_EQUAL("One", cf.GetName(), ());
|
||||
string const mapFileName = cf.GetFileName(MapFileType::Map);
|
||||
auto const mapFileName = cf.GetFileName(MapFileType::Map);
|
||||
|
||||
TEST_EQUAL("One" DATA_FILE_EXTENSION, mapFileName, ());
|
||||
TEST_EQUAL(0, cf.GetRemoteSize(), ());
|
||||
@@ -25,7 +23,7 @@ UNIT_TEST(CountryFile_Smoke)
|
||||
{
|
||||
CountryFile cf("Three", 666, "xxxSHAxxx");
|
||||
TEST_EQUAL("Three", cf.GetName(), ());
|
||||
string const mapFileName = cf.GetFileName(MapFileType::Map);
|
||||
auto const mapFileName = cf.GetFileName(MapFileType::Map);
|
||||
|
||||
TEST_EQUAL("Three" DATA_FILE_EXTENSION, mapFileName, ());
|
||||
TEST_EQUAL(666, cf.GetRemoteSize(), ());
|
||||
|
||||
Reference in New Issue
Block a user