浏览代码

Return value of release() corrected (fixes #19).

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

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

@@ -69,7 +69,7 @@ namespace sr
m_execute_on_destruction = ( strategy == invoke_it::again );
}

const Ressource& release() noexcept
Ressource release() noexcept
{
m_execute_on_destruction = false;
return m_resource;

正在加载...
取消
保存