diff options
| author | levlam <levlam@telegram.org> | 2021-11-10 21:55:50 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2021-11-10 21:55:50 +0300 |
| commit | 712197ad6d8db03549d8fe10af5e8231b818e2b2 (patch) | |
| tree | 29a4374a9714290b6e7dacd2d382933ada32eee0 /tdutils/td/utils/Timer.h | |
| parent | 6238f0fc895f9dd302aeb1c120f2c0d94ec03652 (diff) | |
Mark some constructors as noexcept.
Diffstat (limited to 'tdutils/td/utils/Timer.h')
| -rw-r--r-- | tdutils/td/utils/Timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/td/utils/Timer.h b/tdutils/td/utils/Timer.h index 712457031..5c61ee569 100644 --- a/tdutils/td/utils/Timer.h +++ b/tdutils/td/utils/Timer.h @@ -35,7 +35,7 @@ class PerfWarningTimer { explicit PerfWarningTimer(string name, double max_duration = 0.1); PerfWarningTimer(const PerfWarningTimer &) = delete; PerfWarningTimer &operator=(const PerfWarningTimer &) = delete; - PerfWarningTimer(PerfWarningTimer &&other); + PerfWarningTimer(PerfWarningTimer &&other) noexcept; PerfWarningTimer &operator=(PerfWarningTimer &&) = delete; ~PerfWarningTimer(); void reset(); |
