diff --git a/src/include/bag.hpp b/src/include/bag.hpp index a703f3c..006be4c 100644 --- a/src/include/bag.hpp +++ b/src/include/bag.hpp @@ -20,18 +20,18 @@ class Bag { int bagit_version_major; int bagit_version_minor; string tag_file_character_encoding; - class Payload *payload_p;; + class Payload *payload_p; class Payloadmanifest *payloadmanifest_p; // next elements are optional class Tagmanifest *tagmanifest_p; class Bagmetadata *bagmetadata_p; - class Fetchfile *fetchfile_p; - class Othertags *othertags_p; + class Fetchfile *fetchfile_p{}; + class Othertags *othertags_p{}; public: Bag(); Bag(string dfname); list get_all_bag_files(); - bool store( string dfname); + bool store( string basedir); bool validate(); void get_logstream( stringstream & log); void reset_logstream();