Fix build error from non-POD initializer list

This commit is contained in:
2025-07-22 05:50:19 -04:00
parent f06aeb6c9b
commit e87656fd12
-7
View File
@@ -51,11 +51,6 @@ public:
class ExportedImplexorApiDesc
{
public:
ExportedImplexorApiDesc(const std::string name)
// The caller should sanity check before calling this constructor.
: name(name)
{}
static bool sanityCheck(const ExportedImplexorApiDesc &desc)
{
if (desc.name.empty()) { return false; }
@@ -67,8 +62,6 @@ public:
};
public:
SenseApiDesc() = default;
std::string stringify() const
{
std::string result = "Name: " + name + "\n";