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
Returntype of get() changed to decltype(auto) (
#71
).
main
offa
7 years ago
parent
4978c4b76d
commit
902edaa5c8
1 changed files
with
1 additions
and
1 deletions
Unified View
Show Diff Stats
+1
-1
include/unique_resource.h
+ 1
- 1
include/unique_resource.h
View File
m_execute_on_destruction = false;
m_execute_on_destruction = false;
}
}
const R&
get() const noexcept
decltype(auto)
get() const noexcept
{
{
return m_resource.get();
return m_resource.get();
}
}
Write
Preview
Loading…
Cancel
Save