File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3939
4040namespace Firebird {
4141
42- void TimeStamp::report_error (const char * msg)
42+ [[noreturn]] void TimeStamp::report_error (const char * msg)
4343{
4444 system_call_failed::raise (msg);
4545}
Original file line number Diff line number Diff line change @@ -40,23 +40,23 @@ class TimeStamp : public NoThrowTimeStamp
4040{
4141public:
4242 // Constructors
43- TimeStamp ()
43+ TimeStamp () noexcept
4444 : NoThrowTimeStamp()
4545 {}
4646
47- TimeStamp (const ISC_TIMESTAMP& from)
47+ TimeStamp (const ISC_TIMESTAMP& from) noexcept
4848 : NoThrowTimeStamp(from)
4949 {}
5050
51- TimeStamp (const NoThrowTimeStamp& from)
51+ TimeStamp (const NoThrowTimeStamp& from) noexcept
5252 : NoThrowTimeStamp(from)
5353 {}
5454
55- TimeStamp (ISC_DATE date, ISC_TIME time)
55+ TimeStamp (ISC_DATE date, ISC_TIME time) noexcept
5656 : NoThrowTimeStamp(date, time)
5757 {}
5858
59- explicit TimeStamp (const struct tm & times, int fractions = 0 )
59+ explicit TimeStamp (const struct tm & times, int fractions = 0 ) noexcept
6060 : NoThrowTimeStamp(times, fractions)
6161 {}
6262
@@ -73,7 +73,7 @@ class TimeStamp : public NoThrowTimeStamp
7373 }
7474
7575private:
76- static void report_error (const char * msg);
76+ [[noreturn]] static void report_error (const char * msg);
7777};
7878
7979} // namespace Firebird
You can’t perform that action at this time.
0 commit comments