Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit 5f1ee836 authored by Hossain Mahmud's avatar Hossain Mahmud
Browse files

gcc fixes

parent 35fa609f
......@@ -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);
}
......
......@@ -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>
......
......@@ -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
}
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