Explorar el Código

[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
naive_version
leveldb Team hace 5 años
cometido por Victor Costan
padre
commit
3dc9202f78
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      include/leveldb/write_batch.h

+ 1
- 1
include/leveldb/write_batch.h Ver fichero

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

Cargando…
Cancelar
Guardar