summaryrefslogtreecommitdiffstats
path: root/app/tree_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/tree_model.h')
-rw-r--r--app/tree_model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tree_model.h b/app/tree_model.h
index 593f677..f6d8da3 100644
--- a/app/tree_model.h
+++ b/app/tree_model.h
@@ -20,7 +20,7 @@ class TreeModel;
class TreeModelNode {
public:
// Returns the title for the node.
- virtual std::wstring GetTitle() = 0;
+ virtual const std::wstring& GetTitle() const = 0;
};
// Observer for the TreeModel. Notified of significant events to the model.