diff options
author | Alessio Balsini <balsini@google.com> | 2021-12-02 20:09:05 +0000 |
---|---|---|
committer | Alessio Balsini <balsini@google.com> | 2021-12-02 21:26:30 +0000 |
commit | 2a79da0acab61b76fc280d4d6921aec4416f21d4 (patch) | |
tree | 523fc09e5ad65c7e781cd30cff0eca4884745b82 /jni/RedactionInfoTest.cpp | |
parent | 984d729aaef179d641c53afa6c49a168128402fa (diff) | |
download | MediaProvider-2a79da0acab61b76fc280d4d6921aec4416f21d4.tar.gz |
Fix build warnings
Remove some nits and obsolete declarations to fix all the compiler
warnings.
Bug: 202785178
Test: m
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I0407bafbb0b3f66887ac163dba441285a58ca26d
Diffstat (limited to 'jni/RedactionInfoTest.cpp')
-rw-r--r-- | jni/RedactionInfoTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/RedactionInfoTest.cpp b/jni/RedactionInfoTest.cpp index 76eec130a..3a7bd27ff 100644 --- a/jni/RedactionInfoTest.cpp +++ b/jni/RedactionInfoTest.cpp @@ -24,9 +24,8 @@ #include "libfuse_jni/RedactionInfo.h" -using namespace mediaprovider::fuse; +namespace mediaprovider::fuse { -using std::unique_ptr; using std::vector; std::ostream& operator<<(std::ostream& os, const ReadRange& rr) { @@ -381,3 +380,5 @@ TEST(RedactionInfoTest, testSingleRedactionRangesZeroSize) { info.getReadRanges(0, 40, &out); // read offsets [0, 40) EXPECT_EQ(0, out.size()); } + +} // namespace mediaprovider::fuse |