hw: fix build error with gcc 12

Fixes #4831
This commit is contained in:
Christian Prochaska 2023-04-14 18:53:31 +02:00 committed by Christian Helmuth
parent acfeda15a7
commit b29db99f1c

View File

@ -31,7 +31,8 @@ namespace Board { using namespace Hw::Pc_board; };
#include <spec/x86_64/cpu.h> #include <spec/x86_64/cpu.h>
namespace Board { namespace Board {
class Pic : public Local_interrupt_controller { }; class Pic : public Local_interrupt_controller
{ using Local_interrupt_controller::Local_interrupt_controller; };
enum { enum {
VECTOR_REMAP_BASE = 48, VECTOR_REMAP_BASE = 48,