Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nmsdk
rdk
Commits
65b0327eff85
Commit
aaea81da
authored
Oct 30, 2020
by
vladburin
Browse files
Fix bug in CreatorProperty in template specialization
--HG-- branch : MockCompsTest
parent
4891d6c7c6c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/Engine/UBasePropCreator.cpp
View file @
65b0327e
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment