summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChris Blume <cblume@google.com>2018-11-19 14:25:31 -0800
committerChris Blume <cblume@google.com>2018-11-19 14:25:31 -0800
commit0fd02aa33dcbca0296b2fd197cb750e0d11c4925 (patch)
treebfd3d166320a63939207f376e6ff677c1fbd6881 /tools/aapt2/java/JavaClassGenerator.cpp
parente9f5e860547e7314c4c0e03fa4838c5b06164f5d (diff)
Use "override" keyword instead of "virtual".
"override" provides a compile-time gaurantee that the function is indeed overriding a virtual function. This prevents the potential mistake of creating a new virtual function rather than overriding the original. I happened to notice we could use "override" here instead of "virtual". Might as well tidy up a bit. Test: Built locally BUG=115613038 Change-Id: I7f43f4a466d8ceaa1b863d6a2af054e69618d0c8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions