diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8fa8469..2795eb2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -15,42 +15,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -84,8 +50,8 @@
-
-
+
+
@@ -121,8 +87,8 @@
-
-
+
+
@@ -238,8 +204,8 @@
-
+
@@ -638,12 +604,12 @@
-
+
-
+
@@ -656,6 +622,7 @@
+
@@ -664,7 +631,7 @@
-
+
@@ -1166,23 +1133,23 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/loaders/JSON_Loader.cpp b/src/loaders/JSON_Loader.cpp
index 99703ad..7b0e6db 100644
--- a/src/loaders/JSON_Loader.cpp
+++ b/src/loaders/JSON_Loader.cpp
@@ -35,14 +35,14 @@ int JSON_Loader::load_json_file( std::string filename, bool verbose )
if (! parsingSuccessful )
{
- std::cerr << "Failed to parse " << filename << ":\n\t" << json_reader.getFormattedErrorMessages();
+ std::cerr << "Failed to parse '" << filename << "':\n\t" << json_reader.getFormattedErrorMessages();
// exit with failure signal
return 1;
} else {
// if in verbose mode, give the user an "it worked" message
if (verbose)
{
- std::cout << "Parsed " << filename << " with " << this->json_root.size() << " elements." << std::endl;
+ std::cout << "Parsed '" << filename << "' with " << this->json_root.size() << " element(s)." << std::endl;
}
}
// exit successfully
diff --git a/src/loaders/JSON_Loader.h b/src/loaders/JSON_Loader.h
index 8823cdf..02fb509 100644
--- a/src/loaders/JSON_Loader.h
+++ b/src/loaders/JSON_Loader.h
@@ -14,6 +14,7 @@ class JSON_Loader
{
private:
Json::Value json_root;
+
public:
// constructor
JSON_Loader();