瀏覽代碼

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

proposal (fixes #104).
main
offa 7 年之前
父節點
當前提交
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();
} }

Loading…
取消
儲存