Bridge is not yet ready to not subclass Disk (#679)

This commit is contained in:
Uwe Seimet 2022-02-18 21:03:22 +01:00 committed by GitHub
parent 419dca3c4c
commit 2281a7e53b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
using namespace std; using namespace std;
using namespace scsi_defs; using namespace scsi_defs;
SCSIBR::SCSIBR() : PrimaryDevice("SCBR") SCSIBR::SCSIBR() : Disk("SCBR")
{ {
tap = NULL; tap = NULL;
m_bTapEnable = false; m_bTapEnable = false;

View File

@ -18,7 +18,7 @@
#pragma once #pragma once
#include "os.h" #include "os.h"
#include "primary_device.h" #include "disk.h"
#include <string> #include <string>
//=========================================================================== //===========================================================================
@ -29,7 +29,7 @@
class CTapDriver; class CTapDriver;
class CFileSys; class CFileSys;
class SCSIBR : public PrimaryDevice class SCSIBR : public Disk
{ {
public: public:
@ -48,7 +48,7 @@ public:
void SendMessage10(SASIDEV *); void SendMessage10(SASIDEV *);
private: private:
typedef PrimaryDevice super; typedef Disk super;
Dispatcher<SCSIBR, SASIDEV> dispatcher; Dispatcher<SCSIBR, SASIDEV> dispatcher;