Explorar el Código

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

main
offa hace 7 años
padre
commit
b234a5a25d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Ver fichero

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

Cargando…
Cancelar
Guardar