Ver código fonte

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

main
offa 7 anos atrás
pai
commit
902edaa5c8
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Ver arquivo

@@ -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();
}

Carregando…
Cancelar
Salvar