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 39
39
40
40
namespace Firebird {
41
41
42
- void TimeStamp::report_error (const char * msg)
42
+ [[noreturn]] void TimeStamp::report_error (const char * msg)
43
43
{
44
44
system_call_failed::raise (msg);
45
45
}
Original file line number Diff line number Diff line change @@ -40,23 +40,23 @@ class TimeStamp : public NoThrowTimeStamp
40
40
{
41
41
public:
42
42
// Constructors
43
- TimeStamp ()
43
+ TimeStamp () noexcept
44
44
: NoThrowTimeStamp()
45
45
{}
46
46
47
- TimeStamp (const ISC_TIMESTAMP& from)
47
+ TimeStamp (const ISC_TIMESTAMP& from) noexcept
48
48
: NoThrowTimeStamp(from)
49
49
{}
50
50
51
- TimeStamp (const NoThrowTimeStamp& from)
51
+ TimeStamp (const NoThrowTimeStamp& from) noexcept
52
52
: NoThrowTimeStamp(from)
53
53
{}
54
54
55
- TimeStamp (ISC_DATE date, ISC_TIME time)
55
+ TimeStamp (ISC_DATE date, ISC_TIME time) noexcept
56
56
: NoThrowTimeStamp(date, time)
57
57
{}
58
58
59
- explicit TimeStamp (const struct tm & times, int fractions = 0 )
59
+ explicit TimeStamp (const struct tm & times, int fractions = 0 ) noexcept
60
60
: NoThrowTimeStamp(times, fractions)
61
61
{}
62
62
@@ -73,7 +73,7 @@ class TimeStamp : public NoThrowTimeStamp
73
73
}
74
74
75
75
private:
76
- static void report_error (const char * msg);
76
+ [[noreturn]] static void report_error (const char * msg);
77
77
};
78
78
79
79
} // namespace Firebird
You can’t perform that action at this time.
0 commit comments