diff options
author | leveldb Team <no-reply@google.com> | 2019-04-23 11:00:28 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2019-04-23 11:24:04 -0700 |
commit | 3dc9202f78a3eb30ee8c0267e4e4be2e3f986e45 (patch) | |
tree | 9ef3f4af42e09757b5b8d4f8e0c3bc202275e1a3 /include | |
parent | 2ccb45c33aecd8b15000c0c622f45eb119b6b478 (diff) | |
download | leveldb-3dc9202f78a3eb30ee8c0267e4e4be2e3f986e45.tar.gz |
[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
Diffstat (limited to 'include')
-rw-r--r-- | include/leveldb/write_batch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/leveldb/write_batch.h b/include/leveldb/write_batch.h index 9b319f0..5380c53 100644 --- a/include/leveldb/write_batch.h +++ b/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; |