diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 21:03:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 21:08:39 +0100 |
commit | c910a12d9d37f756ca3a2205698eaff91ccb2239 (patch) | |
tree | 54ac9cb9be2047044b02278dbbd38f09e4e293bf /src/server | |
parent | 1ef262c7f3fd8f9d4c183e2b58a7fb9a0dbdcd10 (diff) | |
download | ingen-c910a12d9d37f756ca3a2205698eaff91ccb2239.tar.gz ingen-c910a12d9d37f756ca3a2205698eaff91ccb2239.tar.bz2 ingen-c910a12d9d37f756ca3a2205698eaff91ccb2239.zip |
Cleanup: Use emplace_back
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/UndoStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/UndoStack.cpp b/src/server/UndoStack.cpp index e9f5e85d..a94617a5 100644 --- a/src/server/UndoStack.cpp +++ b/src/server/UndoStack.cpp @@ -42,7 +42,7 @@ UndoStack::start_entry() if (_depth == 0) { time_t now; time(&now); - _stack.push_back(Entry(now)); + _stack.emplace_back(Entry(now)); } return ++_depth; } |