summaryrefslogtreecommitdiff
path: root/core/object/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/object/object.h')
-rw-r--r--core/object/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/object.h b/core/object/object.h
index 795bbf27e8..fc6e6a3660 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -352,7 +352,7 @@ public:
static String get_category_static() { \
String category = m_inherits::get_category_static(); \
if (_get_category != m_inherits::_get_category) { \
- if (category != "") { \
+ if (!category.is_empty()) { \
category += "/"; \
} \
category += _get_category(); \