mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
refactoring, fixed read_block -> update_block
This commit is contained in:
@@ -19,16 +19,16 @@
|
||||
# #
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "driver.h"
|
||||
|
||||
|
||||
namespace DRIVERS {
|
||||
|
||||
|
||||
struct Storage : public Driver {
|
||||
using Driver::Driver;
|
||||
virtual void read_block (void *_dst, const void *_src, size_t _n) {}
|
||||
virtual void update_block (const void *_src, void *_dst, size_t _n) {}
|
||||
virtual void readBlock(void *dest, const void *src, size_t size) {}
|
||||
virtual void updateBlock(const void *src, void *dest, size_t size) {}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user