Removing default constructor for TargetDescriptionFile out of the public scope

This commit is contained in:
Nav
2021-10-17 21:12:17 +01:00
parent fbd3037a8c
commit e58bda3be1

View File

@@ -36,8 +36,6 @@ namespace Bloom::Targets::TargetDescription
class TargetDescriptionFile class TargetDescriptionFile
{ {
public: public:
TargetDescriptionFile() = default;
/** /**
* Will construct a TargetDescriptionFile instance from the XML of a target description file, the path to which * Will construct a TargetDescriptionFile instance from the XML of a target description file, the path to which
* is given via xmlFilePath. * is given via xmlFilePath.
@@ -122,6 +120,7 @@ namespace Bloom::Targets::TargetDescription
std::map<std::string, Pinout> pinoutsMappedByName; std::map<std::string, Pinout> pinoutsMappedByName;
std::map<std::string, Interface> interfacesByName; std::map<std::string, Interface> interfacesByName;
TargetDescriptionFile() = default;
virtual void init(const QDomDocument& xml); virtual void init(const QDomDocument& xml);
void init(const QString& xmlFilePath); void init(const QString& xmlFilePath);