summaryrefslogtreecommitdiffstats
path: root/src/Setting.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-19 09:55:07 -0400
committerDavid Robillard <d@drobilla.net>2022-07-20 10:35:32 -0400
commit1638b75eba931ba4c0ca970eb8f8152d92e736d3 (patch)
tree9c12964060ada4fa8b1a5d5b04bf1ffbe2709f55 /src/Setting.hpp
parent4658288c09861a2c222636e7844f773fef43bab7 (diff)
downloadpatchage-1638b75eba931ba4c0ca970eb8f8152d92e736d3.tar.gz
patchage-1638b75eba931ba4c0ca970eb8f8152d92e736d3.tar.bz2
patchage-1638b75eba931ba4c0ca970eb8f8152d92e736d3.zip
Remove Setting<T>::Value type
Diffstat (limited to 'src/Setting.hpp')
-rw-r--r--src/Setting.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Setting.hpp b/src/Setting.hpp
index 9720ba2..f8864d0 100644
--- a/src/Setting.hpp
+++ b/src/Setting.hpp
@@ -16,9 +16,7 @@ namespace setting {
template<class T>
struct Setting {
- using Value = T;
-
- Value value{};
+ T value{};
};
struct PortColor {