浏览代码

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

proposal (fixes #104).
main
offa 8 年前
父节点
当前提交
3d950891af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h 查看文件

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();
} }

正在加载...
取消
保存