gapi(test): avoid anonymous namespace types as template parameters

This commit is contained in:
Alexander Alekhin
2020-11-26 21:21:05 +00:00
parent d65c6af3a5
commit 7efc0011fd
3 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -240,7 +240,8 @@ TEST(GArray_VectorRef, TestMov)
EXPECT_EQ(V{}, vtest);
}
namespace {
// types from anonymous namespace doesn't work well with templates
inline namespace gapi_array_tests {
struct MyTestStruct {
int i;
float f;