aboutsummaryrefslogtreecommitdiff
path: root/util/options.cc
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-11-09 22:00:01 +0800
committerKunoiSayami <[email protected]>2021-11-09 22:00:01 +0800
commit9907b61c574baf0747747f1c512f7cdd88ebed25 (patch)
tree358acb09ff8d7b0589a63b8a810e6082046877fe /util/options.cc
init
Diffstat (limited to 'util/options.cc')
-rw-r--r--util/options.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/options.cc b/util/options.cc
new file mode 100644
index 0000000..62de5bf
--- /dev/null
+++ b/util/options.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file. See the AUTHORS file for names of contributors.
+
+#include "leveldb/options.h"
+
+#include "leveldb/comparator.h"
+#include "leveldb/env.h"
+
+namespace leveldb {
+
+Options::Options() : comparator(BytewiseComparator()), env(Env::Default()) {}
+
+} // namespace leveldb