diff options
author | Matthew Bentham <Matthew.Bentham@arm.com> | 2019-11-22 11:24:54 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2019-11-22 15:11:08 +0000 |
commit | 3a93dfa9af49188910a715689c9fb7fc381fa03d (patch) | |
tree | 670b8e024d9057cc25d6e3dce2187b31e3e4cf02 /src | |
parent | b86a382417017a4b31bee38eb8291233758ea7d1 (diff) | |
download | armnn-3a93dfa9af49188910a715689c9fb7fc381fa03d.tar.gz |
Github #251 Surround local structs with anonymous namespace
This fixes a one-definition-rule violation
Change-Id: I0941ed21a04876009546b9b73f5fdfbf73c4110d
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/armnn/test/CsvReaderTest.cpp | 2 | ||||
-rw-r--r-- | src/armnn/test/ModelAccuracyCheckerTest.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/armnn/test/CsvReaderTest.cpp b/src/armnn/test/CsvReaderTest.cpp index 22d510bcb6..ed27e57f8e 100644 --- a/src/armnn/test/CsvReaderTest.cpp +++ b/src/armnn/test/CsvReaderTest.cpp @@ -14,6 +14,7 @@ using namespace armnnUtils; +namespace { struct TestHelper { TestHelper() @@ -75,6 +76,7 @@ struct TestHelper { boost::optional<boost::filesystem::path> m_CsvFile; }; +} BOOST_AUTO_TEST_SUITE(CsvReaderTest) diff --git a/src/armnn/test/ModelAccuracyCheckerTest.cpp b/src/armnn/test/ModelAccuracyCheckerTest.cpp index aa1fba212c..e1618512eb 100644 --- a/src/armnn/test/ModelAccuracyCheckerTest.cpp +++ b/src/armnn/test/ModelAccuracyCheckerTest.cpp @@ -16,6 +16,7 @@ using namespace armnnUtils; +namespace { struct TestHelper { const std::map<std::string, std::string> GetValidationLabelSet() @@ -52,6 +53,7 @@ struct TestHelper return modelOutputLabels; } }; +} BOOST_AUTO_TEST_SUITE(ModelAccuracyCheckerTest) |