cpu-kvm: Add missing 'override' keyword
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Mon, 3 Aug 2020 22:03:51 +0000 (15:03 -0700)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Tue, 4 Aug 2020 23:02:02 +0000 (23:02 +0000)
commitac8ba36fa16053457c07efa6b728ac76310bb967
tree97b6255e4f94cda1b9ef85ae5dee48682a2a646f
parent4b22bfaf3ea3dab24071c3ed2cc76d4e74ea9315
cpu-kvm: Add missing 'override' keyword

clang requires all functions that override a member function to be
masked by the 'override' keyword. The missing 'override' in
timer.hh causes compiling issues while compiling gem5 with clang.
This commit adds the missing keyword.

Jira: https://gem5.atlassian.net/browse/GEM5-724

Change-Id: I3b5c7af666927b079a785803c8bb4869180ff777
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32095
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/kvm/timer.hh