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

} }




void reset()
void reset() noexcept
{ {
if( m_execute_on_destruction == true ) if( m_execute_on_destruction == true )
{ {
se.release(); se.release();
} }


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

Loading…
Cancel
Save