Browse Source

Refactoring.

main
offa 7 years ago
parent
commit
d6f60e09f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h View File

if( m_execute_on_destruction == true ) if( m_execute_on_destruction == true )
{ {
m_execute_on_destruction = false; m_execute_on_destruction = false;
m_deleter(m_resource);
get_deleter()(m_resource);
} }
} }



Loading…
Cancel
Save