diff options
author | Sergio Giro <sgiro@google.com> | 2015-09-23 21:22:14 +0100 |
---|---|---|
committer | Sergio Giro <sgiro@google.com> | 2015-09-23 21:22:14 +0100 |
commit | 8dba9a7bf1322f4cf60509131f13c8eac657ae63 (patch) | |
tree | eece0a49b8371be7d20c94a2d4a7f6cb966c1f24 /libutils | |
parent | be0044fa833ea262cf5badddbdcc5ff4f323976b (diff) | |
download | system_core-8dba9a7bf1322f4cf60509131f13c8eac657ae63.tar.gz system_core-8dba9a7bf1322f4cf60509131f13c8eac657ae63.tar.bz2 system_core-8dba9a7bf1322f4cf60509131f13c8eac657ae63.zip |
libutils: fix compile error in SharedBufferTest
Change-Id: Ib1185d417457d03efa102989a64b5b5e4eb5c82a
Diffstat (limited to 'libutils')
-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)), ""); |