--- nono/vm/rtc.h 2026/04/29 17:04:32 1.1.1.2 +++ nono/vm/rtc.h 2026/04/29 17:04:36 1.1.1.3 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2017 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once @@ -35,11 +36,11 @@ struct RTC // あまりやりたくないので、これを IODevice 派生クラスとしておく。 class RTCDevice : public IODevice { - typedef IODevice inherited; + using inherited = IODevice; public: RTCDevice(); - virtual ~RTCDevice(); + ~RTCDevice() override; // 初期化 // VM の RTC に仮想時刻(の初期値)をセットする。