sources as different names, explicit targets
This commit is contained in:
parent
cc4d8d1fc3
commit
1d9a6ec3f8
10 changed files with 252 additions and 62 deletions
src
|
@ -41,7 +41,7 @@ public:
|
|||
const std::filesystem::path& path,
|
||||
Collection* collection,
|
||||
const std::shared_ptr<Logger>& logger,
|
||||
const std::string& name = ""
|
||||
const std::optional<std::string>& name = std::nullopt
|
||||
);
|
||||
|
||||
Type getType() const;
|
||||
|
@ -84,7 +84,7 @@ private:
|
|||
Collection* collection;
|
||||
std::filesystem::path location;
|
||||
std::optional<nlohmann::json> manifest;
|
||||
std::string name;
|
||||
std::optional<std::string> name;
|
||||
};
|
||||
|
||||
class Component::WrongState : public std::runtime_error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue