瀏覽代碼

tests: add missing header

<cstring> is needed for std::memcpy
Alexandre Bouvier 3 年之前
父節點
當前提交
dce2649daf
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/tests/common/scratch_buffer.cpp

+ 1 - 0
src/tests/common/scratch_buffer.cpp

@@ -3,6 +3,7 @@
 
 #include <algorithm>
 #include <array>
+#include <cstring>
 #include <span>
 #include <catch2/catch.hpp>
 #include "common/common_types.h"