OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36831ab
)
Use WARN_UNUSED consistently in ART.
author
Roland Levillain
<rpl@google.com>
Tue, 18 Apr 2017 11:01:58 +0000
(12:01 +0100)
committer
Roland Levillain
<rpl@google.com>
Tue, 18 Apr 2017 11:01:58 +0000
(12:01 +0100)
Test: mmma art
Change-Id: I776840725f56258c45edfcfd165da61ab653f0b5
test/ti-agent/scoped_local_ref.h
patch
|
blob
|
history
diff --git
a/test/ti-agent/scoped_local_ref.h
b/test/ti-agent/scoped_local_ref.h
index
daa1583
..
ba9725f
100644
(file)
--- a/
test/ti-agent/scoped_local_ref.h
+++ b/
test/ti-agent/scoped_local_ref.h
@@
-44,7
+44,7
@@
class ScopedLocalRef {
}
}
- T release()
__attribute__((warn_unused_result))
{
+ T release()
WARN_UNUSED
{
T localRef = mLocalRef;
mLocalRef = nullptr;
return localRef;