예제 #1
0
 virtual void Delete(const leveldb::Slice& key) {
     if (key.ToString() == needle) {
         foundEntry = true;
         *deleted = true;
     }
 }
static void read(const leveldb::Slice& strval, GDELTMini& val) {
  std::stringstream sstr;
  sstr.str(std::move(strval.ToString()));
  sstr >> val;
}