diff options
author | Sergio Giro <sgiro@google.com> | 2015-09-23 21:22:14 +0100 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2015-09-30 10:44:17 -0700 |
commit | 0e7fb13d57d50ebf104943b2dc720a40c3fc284d (patch) | |
tree | 1554cc0dd26662599fa1c9a8c9738cad08ecc0b3 | |
parent | 8e2c8208198c1c73c7192b1bd5e87868b53297c6 (diff) |
libutils: fix compile error in SharedBufferTest
Change-Id: Ib1185d417457d03efa102989a64b5b5e4eb5c82a
-rw-r--r-- | libutils/SharedBufferTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/SharedBufferTest.cpp b/libutils/SharedBufferTest.cpp index d88fbf397..a0484ffb5 100644 --- a/libutils/SharedBufferTest.cpp +++ b/libutils/SharedBufferTest.cpp @@ -16,13 +16,13 @@ #define __STDC_LIMIT_MACROS -#include <utils/SharedBuffer.h> - #include <gtest/gtest.h> #include <memory> #include <stdint.h> +#include "SharedBuffer.h" + TEST(SharedBufferTest, TestAlloc) { EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX), ""); EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer)), ""); |