lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master c15932e 3/3: Use [[noreturn]] attribute in de


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c15932e 3/3: Use [[noreturn]] attribute in declarations, not definitions
Date: Thu, 6 Apr 2017 19:08:08 -0400 (EDT)

branch: master
commit c15932ede676ed50ae8498e9d4e6e404896aec08
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Use [[noreturn]] attribute in declarations, not definitions
    
    Extended the immediately preceding change to definitions in other files
    that are affected by the same declaration.
---
 alert_cgi.cpp | 1 -
 alert_wx.cpp  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/alert_cgi.cpp b/alert_cgi.cpp
index 598bd1e..9daf36b 100644
--- a/alert_cgi.cpp
+++ b/alert_cgi.cpp
@@ -59,7 +59,6 @@ void hobsons_choice_alert(std::string const& s)
     throw std::runtime_error(s);
 }
 
-[[noreturn]]
 void alarum_alert(std::string const& s)
 {
     throw std::runtime_error(s);
diff --git a/alert_wx.cpp b/alert_wx.cpp
index fb78f69..2eabf58 100644
--- a/alert_wx.cpp
+++ b/alert_wx.cpp
@@ -115,7 +115,6 @@ void hobsons_choice_alert(std::string const& s)
         }
 }
 
-[[noreturn]]
 void alarum_alert(std::string const& s)
 {
     throw std::runtime_error(s);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]