| commit | 318d5e033ccb81f54a8dd58d0083d31b4e0b907a | [log] [tgz] |
|---|---|---|
| author | Nicolas Capens <capn@google.com> | Fri Nov 16 14:28:36 2018 -0500 |
| committer | Nicolas Capens <nicolascapens@google.com> | Mon Nov 26 15:59:30 2018 +0000 |
| tree | 4e09e61db6e8257ce5fe0e8404058301b146d4ee | |
| parent | 70c419893f7f23b51468c681b0a0d5c78e52c733 [diff] [blame] |
Replace <memory.h> with <cstring>. <memory.h> isn't actually an official standard C header. memcpy() is defined in <string.h> / <cstring>. Change-Id: I578e3a8ea741934e594049e359b906665de80134 Reviewed-on: https://swiftshader-review.googlesource.com/c/22649 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Pipeline/Constants.cpp b/src/Pipeline/Constants.cpp index 25f08e2..a7f5a6b 100644 --- a/src/Pipeline/Constants.cpp +++ b/src/Pipeline/Constants.cpp
@@ -17,7 +17,7 @@ #include "System/Math.hpp" #include "System/Half.hpp" -#include <memory.h> +#include <cstring> namespace sw {