summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/ngram.cpp')
-rw-r--r--src/storage/ngram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp
index a15ed32..d366192 100644
--- a/src/storage/ngram.cpp
+++ b/src/storage/ngram.cpp
@@ -274,7 +274,7 @@ bool Bigram::load_db(const char * dbfile){
bool Bigram::save_db(const char * dbfile){
DB * tmp_db = NULL;
- int ret = g_unlink(dbfile);
+ int ret = unlink(dbfile);
if ( ret != 0 && errno != ENOENT)
return false;