Преглед изворни кода

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

main
offa пре 7 година
родитељ
комит
902edaa5c8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Прегледај датотеку

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

Loading…
Откажи
Сачувај