diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-23 00:16:42 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-23 00:16:42 +0200 |
commit | 97f0a27ab0cbf605ba789be553c0df3bb44a6787 (patch) | |
tree | 78d2c78343b43a8dcaab8df627af578ba9574b37 /c/common.h | |
parent | 21e96c692595f204b91431a90123419e4a1780c4 (diff) | |
download | EpisodeBrowser-97f0a27ab0cbf605ba789be553c0df3bb44a6787.tar.gz |
Improve UpdateLayout and ResizeColumns.
This incidentally removes the need for the variable
template introduced by 21e96c6. I'm sure it will be
needed at some point, though.
Diffstat (limited to 'c/common.h')
-rw-r--r-- | c/common.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -54,10 +54,6 @@ std::optional<T> maybe_make(U... xs) } } -/* Variable template for caching values from GetSystemMetrics. */ -template <int I> -const auto Metric = GetSystemMetrics(I); - /* Check result of Windows API call, throwing error on NULL. */ template <typename T> inline T require(const T x) |