From 97f0a27ab0cbf605ba789be553c0df3bb44a6787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 23 Jul 2022 00:16:42 +0200 Subject: 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. --- c/common.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'c/common.h') diff --git a/c/common.h b/c/common.h index c6c7dbd..5fe6d62 100644 --- a/c/common.h +++ b/c/common.h @@ -54,10 +54,6 @@ std::optional maybe_make(U... xs) } } -/* Variable template for caching values from GetSystemMetrics. */ -template -const auto Metric = GetSystemMetrics(I); - /* Check result of Windows API call, throwing error on NULL. */ template inline T require(const T x) -- cgit v1.2.3