Svace 19164, 19166, 19167 49/75549/3
authorKamil Nowac <k.nowac@samsung.com>
Mon, 20 Jun 2016 10:52:11 +0000 (12:52 +0200)
committerKamil Nowa? <k.nowac@samsung.com>
Mon, 20 Jun 2016 11:17:06 +0000 (04:17 -0700)
[Issue]    N/A
[Problem]  Deprecated throw()
[Solution] Used noexcept

Change-Id: I75655e7d8a242a9df5e9a6f150b6f956c024bf4f

services/HistoryService/HistoryItem.cpp
services/HistoryService/HistoryItem.h

index 0ee8bddd3268c054182a4daac64fadae3e8a27e7..ec5cbad6757c4168c8b78dcd95e82eff64987d11 100644 (file)
@@ -22,7 +22,7 @@ namespace tizen_browser
 namespace services
 {
 
-HistoryItem::HistoryItem(HistoryItem && other) throw()
+HistoryItem::HistoryItem(HistoryItem && other) noexcept
 {
     try {
         if (this != &other) {
@@ -76,7 +76,7 @@ HistoryItem::~HistoryItem()
 
 }
 
-HistoryItem & HistoryItem::operator=(HistoryItem && other) throw()
+HistoryItem & HistoryItem::operator=(HistoryItem && other) noexcept
 {
     if (this != &other) {
         m_url = std::move(other.m_url);
index 80e5aac653d822e325f51a9f1e45c752f325a4c6..a76eba68360cd8c1f358ce13f4eaa648cbcabaa7 100644 (file)
@@ -35,7 +35,7 @@ public:
                 const std::string & title,
                 tools::BrowserImagePtr favicon,
                 tools::BrowserImagePtr thumbnail = std::make_shared<tools::BrowserImage>());
-    HistoryItem(HistoryItem && other) throw();
+    HistoryItem(HistoryItem && other) noexcept;
     HistoryItem(int id, const std::string& url);
     HistoryItem(const HistoryItem& source);
     virtual ~HistoryItem();