diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 20:53:39 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-22 00:20:19 +0100 |
commit | 1f3ea3054b7fe191431c012c92fbcd9e2ee771b6 (patch) | |
tree | 81648746f43fd5c971ac248d3ec0a9c0ae34229b /src/gui/App.hpp | |
parent | d9c5d89d230b204a90cca4dee4165ba6ebdf00fd (diff) | |
download | ingen-1f3ea3054b7fe191431c012c92fbcd9e2ee771b6.tar.gz ingen-1f3ea3054b7fe191431c012c92fbcd9e2ee771b6.tar.bz2 ingen-1f3ea3054b7fe191431c012c92fbcd9e2ee771b6.zip |
Speed up animation and update GUI at 30Hz
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 953e1702..75661449 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -17,7 +17,7 @@ #ifndef INGEN_GUI_APP_HPP #define INGEN_GUI_APP_HPP -#include <map> +#include <unordered_map> #include <string> #include <gtkmm/aboutdialog.h> @@ -182,7 +182,7 @@ protected: float _max_run_load; std::string _status_text; - typedef std::map<Port*, bool> ActivityPorts; + typedef std::unordered_map<Port*, bool> ActivityPorts; ActivityPorts _activity_ports; bool _enable_signal; |