summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga/lib/dat/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/mroonga/vendor/groonga/lib/dat/file.cpp')
-rw-r--r--storage/mroonga/vendor/groonga/lib/dat/file.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/storage/mroonga/vendor/groonga/lib/dat/file.cpp b/storage/mroonga/vendor/groonga/lib/dat/file.cpp
index 57bfcb9ece6..82d6159ed09 100644
--- a/storage/mroonga/vendor/groonga/lib/dat/file.cpp
+++ b/storage/mroonga/vendor/groonga/lib/dat/file.cpp
@@ -1,5 +1,5 @@
/* -*- c-basic-offset: 2 -*- */
-/* Copyright(C) 2011 Brazil
+/* Copyright(C) 2011-2015 Brazil
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -63,5 +63,11 @@ void File::swap(File *rhs) {
rhs->impl_ = temp;
}
+void File::flush() {
+ if (impl_) {
+ impl_->flush();
+ }
+}
+
} // namespace dat
} // namespace grn