aboutsummaryrefslogtreecommitdiff
path: root/odb/details/unique-ptr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/unique-ptr.hxx')
-rw-r--r--odb/details/unique-ptr.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/details/unique-ptr.hxx b/odb/details/unique-ptr.hxx
index 6f94f60..06b2c76 100644
--- a/odb/details/unique-ptr.hxx
+++ b/odb/details/unique-ptr.hxx
@@ -1,5 +1,4 @@
// file : odb/details/unique-ptr.hxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_DETAILS_UNIQUE_PTR_HXX
@@ -23,8 +22,8 @@ namespace odb
~unique_ptr () {delete p_;}
#ifdef ODB_CXX11
- unique_ptr (unique_ptr&& p): p_ (p.p_) {p.p_ = 0;}
- unique_ptr& operator= (unique_ptr&& p)
+ unique_ptr (unique_ptr&& p) noexcept: p_ (p.p_) {p.p_ = 0;}
+ unique_ptr& operator= (unique_ptr&& p) noexcept
{
if (this != &p)
{