Browse Source

Refactoring.

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

+ 1
- 4
include/unique_resource.h View File

@@ -108,10 +108,7 @@ namespace sr

~unique_resource()
{
if( m_execute_on_destruction == true )
{
m_deleter(m_resource);
}
reset();
}



Loading…
Cancel
Save