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