Browse Source

Returntype of get() has been fixed in the updated version R6 of the

proposal (fixes #104).
main
offa 7 years ago
parent
commit
3d950891af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h View File

m_execute_on_destruction = false; m_execute_on_destruction = false;
} }


decltype(auto) get() const noexcept
const R& get() const noexcept
{ {
return m_resource.get(); return m_resource.get();
} }

Loading…
Cancel
Save