Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
5f1ee836
Commit
5f1ee836
authored
Dec 14, 2014
by
Hossain Mahmud
Browse files
gcc fixes
parent
35fa609f
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripting/luagen/properties/floatpropertylua.h
View file @
5f1ee836
...
...
@@ -109,13 +109,13 @@ namespace campvis {
// ================================================================================================
template
<
size_t
SIZE
>
campvis
::
VecPropertyLua
<
SIZE
>::
VecPropertyLua
(
PropertyType
*
property
,
DataContainer
*
dataContainer
)
VecPropertyLua
<
SIZE
>::
VecPropertyLua
(
PropertyType
*
property
,
DataContainer
*
dataContainer
)
:
AbstractPropertyLua
(
property
)
{
}
template
<
size_t
SIZE
>
campvis
::
VecPropertyLua
<
SIZE
>::~
VecPropertyLua
()
{
VecPropertyLua
<
SIZE
>::~
VecPropertyLua
()
{
PropertyType
*
property
=
static_cast
<
PropertyType
*>
(
_property
);
}
...
...
scripting/luagen/properties/intpropertylua.h
View file @
5f1ee836
...
...
@@ -107,13 +107,13 @@ namespace campvis {
// ================================================================================================
template
<
size_t
SIZE
>
campvis
::
IVecPropertyLua
<
SIZE
>::
IVecPropertyLua
(
PropertyType
*
property
,
DataContainer
*
dataContainer
)
IVecPropertyLua
<
SIZE
>::
IVecPropertyLua
(
PropertyType
*
property
,
DataContainer
*
dataContainer
)
:
AbstractPropertyLua
(
property
)
{
}
template
<
size_t
SIZE
>
campvis
::
IVecPropertyLua
<
SIZE
>::~
IVecPropertyLua
()
{
IVecPropertyLua
<
SIZE
>::~
IVecPropertyLua
()
{
}
template
<
size_t
SIZE
>
...
...
scripting/luagen/properties/metapropertylua.cpp
View file @
5f1ee836
...
...
@@ -37,8 +37,7 @@ namespace campvis {
}
std
::
string
MetaPropertyLua
::
getLuaScript
(
const
std
::
string
&
propNamePrefix
,
const
std
::
string
&
luaProc
)
{
return
PropertyCollectionLuaScriptGenerator
::
getLuaScript
(
propNamePrefix
+
_property
->
getName
()
+
"::"
,
luaProc
);
return
PropertyCollectionLuaScriptGenerator
::
getLuaScript
(
std
::
string
(
propNamePrefix
+
_property
->
getName
()
+
"::"
)
,
luaProc
);
}
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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