Browse Source

Noexcepts added (#101).

main
offa 7 years ago
parent
commit
8b39138593
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/unique_resource.h View File

@@ -88,7 +88,7 @@ namespace sr
}


void reset()
void reset() noexcept
{
if( m_execute_on_destruction == true )
{
@@ -107,7 +107,7 @@ namespace sr
se.release();
}

void release()
void release() noexcept
{
m_execute_on_destruction = false;
}

Loading…
Cancel
Save