projects/aports·blob master · refs

24 lines · 727 B

1From 33813d72a8651b578b9b13d562f723f99c6d75eb Mon Sep 17 00:00:00 2001
2From: Ada Tufankjian <[email protected]>
3Date: Fri, 6 Sep 2024 16:29:07 -0700
4Subject: [PATCH] Fixing build on Ubuntu 24.04 w/ Clang 20 (#936)
5
6Some compiler implementations seem to be very adamant that
7`std::unique_ptr` lives in `<memory>` and without this change I was
8unable to build.
9---
10 tools/imageio/imageio.h | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/tools/imageio/imageio.h b/tools/imageio/imageio.h
14index 02e6ab5e38..83c1331b32 100644
15--- a/tools/imageio/imageio.h
16+++ b/tools/imageio/imageio.h
17@@ -37,6 +37,7 @@
18 #include <string>
19 #include <sstream>
20 #include <vector>
21+#include <memory>
22
23 #include <fmt/format.h>
24 #include <math.h>