kernel/vm: Correct virtual function declarations.
commitbf77c15232b2dbc93fca01ca95a0fcdf955ce600
authorAugustin Cavalier <waddlesplash@gmail.com>
Sun, 3 Dec 2017 02:42:50 +0000 (2 21:42 -0500)
committerAugustin Cavalier <waddlesplash@gmail.com>
Sun, 3 Dec 2017 02:42:50 +0000 (2 21:42 -0500)
tree954b24e4ac85ae6cc66aa2abd17799c6d99b9f26
parente33d3563dcef25354fb8f352183d3c493624b8b5
kernel/vm: Correct virtual function declarations.

The base VMCache class changed to the generic_ types with their
introduction in in *2011* (435c43f5912b109e7d5cf682865d2061e62fad8c),
but these classes were never properly adapted. These functions should not
be called here (they panic() -- but the base class only returns B_ERROR,
so that is a difference at least.)

Found by Clang's -Woverloaded-virtual.
headers/private/kernel/vm/VMCache.h
src/system/kernel/vm/VMAnonymousNoSwapCache.cpp
src/system/kernel/vm/VMAnonymousNoSwapCache.h
src/system/kernel/vm/VMDeviceCache.cpp
src/system/kernel/vm/VMDeviceCache.h