From 25e42eefb17f9c89a4e97e7bbb135783a7e33c58 Mon Sep 17 00:00:00 2001 From: boyinchen Date: Sat, 4 Apr 2020 13:05:11 +0800 Subject: [PATCH] Mod: `DataSet` constructor --- Library/DataSet/DataSet.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/DataSet/DataSet.cpp b/Library/DataSet/DataSet.cpp index 49fcb23..a810346 100644 --- a/Library/DataSet/DataSet.cpp +++ b/Library/DataSet/DataSet.cpp @@ -107,7 +107,10 @@ void bf::DataSet::SetDataPath(const std::string &s) path = s; } -bf::DataSet::DataSet(void) +bf::DataSet::DataSet(void): + bIsAirportsInitialized(false), + bIsFixesInitialized(false), + bIsRoutesInitialized(false) { graph = new Graph; is = new InternalStruct;