瀏覽代碼

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 查看文件

@@ -112,7 +112,7 @@ namespace sr
m_execute_on_destruction = false;
}

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

Loading…
取消
儲存