Designated initialisation for biref target descriptor objects

This commit is contained in:
Nav
2025-03-29 04:16:21 +00:00
parent 3787c72e5d
commit 9b4bfa8b4e
2 changed files with 10 additions and 14 deletions

View File

@@ -34,20 +34,8 @@ namespace Targets
TargetFamily family;
/**
* The file path to to the target's TDF, relative to Bloom's TDF directory.
* The file path to the target's TDF, relative to Bloom's TDF directory.
*/
std::string relativeTdfPath;
constexpr BriefTargetDescriptor(
const std::string& name,
const std::string& configValue,
TargetFamily family,
const std::string& relativeTdfPath
)
: name(name)
, configValue(configValue)
, family(family)
, relativeTdfPath(relativeTdfPath)
{}
};
}