Parcourir la source

[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
master
leveldb Team il y a 5 ans
committed by Victor Costan
Parent
révision
3dc9202f78
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      include/leveldb/write_batch.h

+ 1
- 1
include/leveldb/write_batch.h Voir le fichier

@ -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;

Chargement…
Annuler
Enregistrer