Commit f5b62da0 authored by Haocheng LIU's avatar Haocheng LIU Committed by Kitware Robot

Merge topic 'fix-isNameSet-in-resource'

36fea358 Fix isNameSet function in resource::resource
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: David Thompson's avatarDavid Thompson <david.thompson@kitware.com>
Merge-request: !1523
parents ac536743 36fea358
# 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