Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

Commit aaea81da authored by vladburin's avatar vladburin
Browse files

Fix bug in CreatorProperty in template specialization

--HG--
branch : MockCompsTest
parent 4891d6c7c6c8
......@@ -454,7 +454,7 @@ public:
// MVector<T>
if(type.find("MVector",0) == 0)
{
CreatorProperty<PropType, TypeInt, std::vector<MVector<UnKnow, 0> > >::CreatePropertyByType(serstorage, mock_unet);
CreatorProperty<PropType, TypeInt, std::vector<MVector<UnKnow, 1> > >::CreatePropertyByType(serstorage, mock_unet);
return true;
}
// MDMatrix<T>
......@@ -569,7 +569,7 @@ public:
// MVector<T>
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt>
class CreatorProperty<PropType, TypeInt, std::vector<MVector<UnKnow, 0> > >
class CreatorProperty<PropType, TypeInt, std::vector<MVector<UnKnow, 1> > >
{
public:
static bool CreatePropertyByType(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet)
......@@ -1017,7 +1017,7 @@ public:
// MVector size - 2,3,4 - double
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt>
class CreatorProperty<PropType, TypeInt, MVector<UnKnow,0> >
class CreatorProperty<PropType, TypeInt, MVector<UnKnow,1> >
{
public:
static bool CreatePropertyByType(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment