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
Comparison simplified.
main
offa
3 years ago
parent
3285bbc0dc
commit
f7fd770726
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
include/unique_resource.h
+ 1
- 1
include/unique_resource.h
View File
@@ -213,7 +213,7 @@ namespace sr
{
unique_resource<std::decay_t<R>, std::decay_t<D>> ur{std::forward<R>(r), std::forward<D>(d)};
if( bool(r == invalid)
== true
)
if( bool(r == invalid) )
{
ur.release();
}
Write
Preview
Loading…
Cancel
Save