浏览代码

Returntype of get() changed to decltype(auto) (#71).

main
offa 7 年前
父节点
当前提交
902edaa5c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/unique_resource.h

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

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

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

正在加载...
取消
保存