Blame 83a6742f08349fbc93f459228dcc3d1f56eac411.patch

15670b7
From 83a6742f08349fbc93f459228dcc3d1f56eac411 Mon Sep 17 00:00:00 2001
15670b7
From: ycitgez <yuhanun.citgez@flatexdegiro.com>
15670b7
Date: Tue, 12 Jul 2022 13:20:32 -0700
15670b7
Subject: [PATCH] Resolved a compiler error due to lacking include (#162)
15670b7
15670b7
Summary:
15670b7
Fixed an issue where a missing include causing compiler errors
15670b7
15670b7
Also applied clang-format.sh
15670b7
15670b7
Issue occured with following compiler and linker:
15670b7
```
15670b7
C++ compiler for the host machine: ccache c++ (gcc 12.1.1 "c++ (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)")
15670b7
C++ linker for the host machine: c++ ld.bfd 2.37-27
15670b7
```
15670b7
15670b7
Pull Request resolved: https://github.com/facebookincubator/oomd/pull/162
15670b7
15670b7
Reviewed By: brianc118
15670b7
15670b7
Differential Revision: D37790605
15670b7
15670b7
Pulled By: lnyng
15670b7
15670b7
fbshipit-source-id: d42776978b4bc8f7e2f584fde109e6cc3f5bc7d6
15670b7
---
15670b7
 src/oomd/Log.h | 1 +
15670b7
 1 file changed, 1 insertion(+)
15670b7
15670b7
diff --git a/src/oomd/Log.h b/src/oomd/Log.h
15670b7
index 3d2d6ea..0ed5f73 100644
15670b7
--- a/src/oomd/Log.h
15670b7
+++ b/src/oomd/Log.h
15670b7
@@ -18,6 +18,7 @@
15670b7
 #pragma once
15670b7
 
15670b7
 #include <algorithm>
15670b7
+#include <array>
15670b7
 #include <condition_variable>
15670b7
 #include <iostream>
15670b7
 #include <mutex>