From 75afffc466a5dc27d93b72017a0f57a46294d21f Mon Sep 17 00:00:00 2001 From: Nicholas Yang <parablank@gmail.com> Date: Sun, 25 Mar 2018 20:36:50 -0400 Subject: [PATCH] more consistant master index naming scheme --- indexer/Indexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/Indexer.cpp b/indexer/Indexer.cpp index 1d51598..9bdbb32 100644 --- a/indexer/Indexer.cpp +++ b/indexer/Indexer.cpp @@ -147,7 +147,7 @@ void Indexer::save() { } void Indexer::saveChunkDictionary() { - string fileName = "master-index.txt"; + string fileName = "index-master.txt"; int file = open(fileName.c_str(), O_CREAT | O_WRONLY, S_IRWXU); for(auto word : chunkDictionary) { string wordDictionary = word.first + " "; -- GitLab