Commit 36fea358 authored by Haocheng LIU's avatar Haocheng LIU

Fix isNameSet function in resource::resource

parent ac536743
# Fix isNameSet function in resource::resource
......@@ -100,7 +100,7 @@ public:
/// is generated or assigned.
std::string name() const override;
bool setName(const std::string& name);
bool isNameSet() { return m_name.empty(); }
bool isNameSet() { return !m_name.empty(); }
/// Indicate whether the resource is in sync with its location.
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment