moveEvent is noexcept

This commit is contained in:
Paul Ferrand 2020-01-18 17:31:45 +01:00
parent 29b85d7803
commit 3599940283
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ void sfz::Logger::clear()
prefix.clear(); prefix.clear();
} }
void sfz::Logger::moveEvents() void sfz::Logger::moveEvents() noexcept
{ {
while(keepRunning.test_and_set()) { while(keepRunning.test_and_set()) {
CallbackTime callbackTime; CallbackTime callbackTime;

View file

@ -60,7 +60,7 @@ public:
void logCallbackTime(std::chrono::duration<double> duration, int numVoices, size_t numSamples); void logCallbackTime(std::chrono::duration<double> duration, int numVoices, size_t numSamples);
void logFileTime(std::chrono::duration<double> waitDuration, std::chrono::duration<double> loadDuration, uint32_t fileSize, absl::string_view filename); void logFileTime(std::chrono::duration<double> waitDuration, std::chrono::duration<double> loadDuration, uint32_t fileSize, absl::string_view filename);
private: private:
void moveEvents(); void moveEvents() noexcept;
bool loggingEnabled { config::loggingEnabled }; bool loggingEnabled { config::loggingEnabled };
std::string prefix { "" }; std::string prefix { "" };