瀏覽代碼

Naming fixed.

main
offa 7 年之前
父節點
當前提交
3c37769e2f
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      include/scope_guard.h
  2. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/scope_guard.h 查看文件

@@ -47,7 +47,7 @@ namespace sr
{
if( m_execute_on_destruction == true )
{
callDeleterSafe();
call_deleter_safe();
}
}

@@ -64,7 +64,7 @@ namespace sr

private:

void callDeleterSafe() noexcept
void call_deleter_safe() noexcept
{
try
{

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

@@ -62,7 +62,7 @@ namespace sr
{
if( m_execute_on_destruction == true )
{
callDeleterSafe();
call_deleter_safe();
}

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

private:

void callDeleterSafe() noexcept
void call_deleter_safe() noexcept
{
try
{

Loading…
取消
儲存