Ver código fonte

Naming fixed.

main
offa 7 anos atrás
pai
commit
3c37769e2f
2 arquivos alterados com 4 adições e 4 exclusões
  1. +2
    -2
      include/scope_guard.h
  2. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/scope_guard.h Ver arquivo

@@ -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 Ver arquivo

@@ -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
{

Carregando…
Cancelar
Salvar