Преглед на файлове

[leveldb] Specifically export the WriteBatch::Handler inner class for Windows link

Windows linking visibility in shared libraries requires that inner classes are
specifically exported as visible, even if the containing class is exported.

PiperOrigin-RevId: 244886019
pull/1/head
leveldb Team преди 5 години
committed by Victor Costan
родител
ревизия
3dc9202f78
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      include/leveldb/write_batch.h

+ 1
- 1
include/leveldb/write_batch.h Целия файл

@ -62,7 +62,7 @@ class LEVELDB_EXPORT WriteBatch {
void Append(const WriteBatch& source);
// Support for iterating over the contents of a batch.
class Handler {
class LEVELDB_EXPORT Handler {
public:
virtual ~Handler();
virtual void Put(const Slice& key, const Slice& value) = 0;

Зареждане…
Отказ
Запис