[glom] Some use of noexcept.



commit 00df8182d2b4851f3856ca2673c0c28ee1050f1b
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Aug 20 20:18:03 2015 +0200

    Some use of noexcept.

 glom/libglom/data_structure/foundset.cc |    8 ++++----
 glom/libglom/data_structure/foundset.h  |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/glom/libglom/data_structure/foundset.cc b/glom/libglom/data_structure/foundset.cc
index c38bcbc..e93cd0b 100644
--- a/glom/libglom/data_structure/foundset.cc
+++ b/glom/libglom/data_structure/foundset.cc
@@ -27,7 +27,7 @@ FoundSet::FoundSet()
 {
 }
 
-FoundSet::FoundSet(const FoundSet& src)
+FoundSet::FoundSet(const FoundSet& src) noexcept
 :  m_table_name(src.m_table_name),
    m_extra_join(src.m_extra_join),
    m_where_clause(src.m_where_clause),
@@ -35,7 +35,7 @@ FoundSet::FoundSet(const FoundSet& src)
 {
 }
 
-FoundSet::FoundSet(FoundSet&& src)
+FoundSet::FoundSet(FoundSet&& src) noexcept
 :  m_table_name(std::move(src.m_table_name)),
    m_extra_join(std::move(src.m_extra_join)),
    m_where_clause(std::move(src.m_where_clause)),
@@ -43,7 +43,7 @@ FoundSet::FoundSet(FoundSet&& src)
 {
 }
 
-FoundSet& FoundSet::operator=(const FoundSet& src)
+FoundSet& FoundSet::operator=(const FoundSet& src) noexcept
 {
   m_table_name = src.m_table_name;
   m_extra_join = src.m_extra_join;
@@ -53,7 +53,7 @@ FoundSet& FoundSet::operator=(const FoundSet& src)
   return *this;
 }
 
-FoundSet& FoundSet::operator=(FoundSet&& src)
+FoundSet& FoundSet::operator=(FoundSet&& src) noexcept
 {
   m_table_name = std::move(src.m_table_name);
   m_extra_join = std::move(src.m_extra_join);
diff --git a/glom/libglom/data_structure/foundset.h b/glom/libglom/data_structure/foundset.h
index 4400b98..fc3ebe3 100644
--- a/glom/libglom/data_structure/foundset.h
+++ b/glom/libglom/data_structure/foundset.h
@@ -37,11 +37,11 @@ namespace Glom
 class FoundSet
 {
 public:
-  FoundSet();
-  FoundSet(const FoundSet& src);
-  FoundSet(FoundSet&& src);
+  FoundSet() noexcept;
+  FoundSet(const FoundSet& src) noexcept;
+  FoundSet(FoundSet&& src) noexcept;
   FoundSet& operator=(const FoundSet& src);
-  FoundSet& operator=(FoundSet&& src);
+  FoundSet& operator=(FoundSet&& src) noexcept;
 
 private:
   //We cannot implement this without a way to compare GdaSqlExpr instances,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]