This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
scope-guard
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Refactoring.
main
offa
7 years ago
parent
831c97cc89
commit
3039f75d14
1 changed files
with
1 additions
and
4 deletions
Split View
Show Diff Stats
+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();
}
Write
Preview
Loading…
Cancel
Save