Fix uninitialized timed caches

This could prevent resizeable plugins from being resizeable in Ardour if
the initialized timestamp just happened to be greater than the current
time, since the returned result would then likely be some invalid value.
This commit is contained in:
Robbert van der Helm
2021-06-09 12:31:03 +02:00
parent fb1eefa880
commit 7c9cd7b9e5
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -278,5 +278,5 @@ class TimedValueCache {
private:
T value;
time_t valid_until;
time_t valid_until = 0;
};