mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-04-20 01:43:12 +02:00
Forgot to save.
This commit is contained in:
parent
464576468b
commit
f586f1ae3a
@ -283,7 +283,8 @@ void Resource::register_properties() {
|
||||
add_property_int("id", &Resource::get_id, &Resource::set_id);
|
||||
}
|
||||
|
||||
Resource::Resource() {
|
||||
Resource::Resource() :
|
||||
Reference() {
|
||||
_id = 0;
|
||||
_dirty = false;
|
||||
_resource_name = get_class();
|
||||
@ -291,8 +292,7 @@ Resource::Resource() {
|
||||
register_properties();
|
||||
}
|
||||
|
||||
Resource::~Resource() :
|
||||
Reference() {
|
||||
Resource::~Resource() {
|
||||
std::map<std::string, ResourcePropertyBase *>::iterator it;
|
||||
|
||||
for (it = _property_map.begin(); it != _property_map.end(); it++) {
|
||||
|
Loading…
Reference in New Issue
Block a user