Use atomic fetch-and-add for unique window classes

This commit is contained in:
Robbert van der Helm
2020-12-31 14:12:14 +01:00
parent c3c0f96585
commit fa0753f520
4 changed files with 12 additions and 21 deletions
+1 -5
View File
@@ -97,16 +97,12 @@ class Editor {
*
* @param config This instance's configuration, used to enable alternative
* editor behaviours.
* @param window_class_name The name for the window class for editor
* windows.
* @param parent_window_handle The X11 window handle passed by the VST host
* for the editor to embed itself into.
*
* @see win32_handle
*/
Editor(const Configuration& config,
const std::string& window_class_name,
const size_t parent_window_handle);
Editor(const Configuration& config, const size_t parent_window_handle);
~Editor();