Fix build error from non-POD initializer list
This commit is contained in:
@@ -51,11 +51,6 @@ public:
|
|||||||
class ExportedImplexorApiDesc
|
class ExportedImplexorApiDesc
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ExportedImplexorApiDesc(const std::string name)
|
|
||||||
// The caller should sanity check before calling this constructor.
|
|
||||||
: name(name)
|
|
||||||
{}
|
|
||||||
|
|
||||||
static bool sanityCheck(const ExportedImplexorApiDesc &desc)
|
static bool sanityCheck(const ExportedImplexorApiDesc &desc)
|
||||||
{
|
{
|
||||||
if (desc.name.empty()) { return false; }
|
if (desc.name.empty()) { return false; }
|
||||||
@@ -67,8 +62,6 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SenseApiDesc() = default;
|
|
||||||
|
|
||||||
std::string stringify() const
|
std::string stringify() const
|
||||||
{
|
{
|
||||||
std::string result = "Name: " + name + "\n";
|
std::string result = "Name: " + name + "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user