Index: mojo/public/cpp/bindings/array.h |
diff --git a/mojo/public/cpp/bindings/array.h b/mojo/public/cpp/bindings/array.h |
index c03da87a7fab388e9e54fc454af1a98e009c5033..819b753cbd68b51458512ffcfcc866b443818939 100644 |
--- a/mojo/public/cpp/bindings/array.h |
+++ b/mojo/public/cpp/bindings/array.h |
@@ -5,6 +5,7 @@ |
#ifndef MOJO_PUBLIC_CPP_BINDINGS_ARRAY_H_ |
#define MOJO_PUBLIC_CPP_BINDINGS_ARRAY_H_ |
+#include <stddef.h> |
#include <string.h> |
#include <algorithm> |
@@ -38,7 +39,7 @@ class Array { |
Array() : is_null_(true) {} |
// Makes null arrays implicitly constructible from |nullptr|. |
- Array(decltype(nullptr)) : is_null_(true) {} |
+ Array(std::nullptr_t) : is_null_(true) {} |
~Array() {} |