[DEBUG] build error
This commit is contained in:
parent
9ae33b1aca
commit
be7abd40a1
@ -140,8 +140,8 @@ void ege::Environement::addCreator(const std::string& _type, ege::createElement_
|
||||
EGE_DEBUG("Add creator: " << _type << " (done)");
|
||||
}
|
||||
|
||||
std::shared_ptr<ege::Element> ege::Environement::createElement(const std::string& _type, bool _autoAddElement, enum ege::property _property, void* _value) {
|
||||
if (false == getHachTableCreating().exist(_type)) {
|
||||
std::shared_ptr<ege::Element> ege::Environement::createElement(const std::string& _type, bool _autoAddElement, enum ege::property _property, std::shared_ptr<void> _value) {
|
||||
if (getHachTableCreating().exist(_type) == false) {
|
||||
EGE_ERROR("Request creating of an type that is not known '" << _type << "'");
|
||||
return nullptr;
|
||||
}
|
||||
@ -166,7 +166,7 @@ std::shared_ptr<ege::Element> ege::Environement::createElement(const std::string
|
||||
}
|
||||
|
||||
std::shared_ptr<ege::Element> ege::Environement::createElement(const std::string& _type, std::shared_ptr<std::string> _description, bool _autoAddElement) {
|
||||
return createElement(_type, _autoAddElement, ege::typeString, std::static_pointer_cast<void>(&_description));
|
||||
return createElement(_type, _autoAddElement, ege::typeString, std::static_pointer_cast<void>(_description));
|
||||
}
|
||||
|
||||
std::shared_ptr<ege::Element> ege::Environement::createElement(const std::string& _type, std::shared_ptr<ejson::Value> _value, bool _autoAddElement) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user