diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 | 
| commit | 4ac748ba2238d3abd5227918d8174507d8fa3ec1 (patch) | |
| tree | 0a854c5820c299f591e6366ee8d22359e935f9c9 /src/ElapsedPeriod.h | |
| parent | 5c9c8f89c962785bcaac84e9a9c22d7976a03784 (diff) | |
| download | scintilla-mirror-4ac748ba2238d3abd5227918d8174507d8fa3ec1.tar.gz | |
Backport: Make constructors of simple classes noexcept.
Backport of changeset 7324:3432fd2a959b.
Diffstat (limited to 'src/ElapsedPeriod.h')
| -rw-r--r-- | src/ElapsedPeriod.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ElapsedPeriod.h b/src/ElapsedPeriod.h index 1e2c96eb4..6f8cdabdf 100644 --- a/src/ElapsedPeriod.h +++ b/src/ElapsedPeriod.h @@ -15,7 +15,7 @@ class ElapsedPeriod {  	std::chrono::high_resolution_clock::time_point tp;  public:  	/// Capture the moment -	ElapsedPeriod() : tp(std::chrono::high_resolution_clock::now()) { +	ElapsedPeriod() noexcept : tp(std::chrono::high_resolution_clock::now()) {  	}  	/// Return duration as floating point seconds  	double Duration(bool reset=false) { | 
