From 43b8dee0bf05dee1b4a07cc001fae0c81ec53a2f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 24 Nov 2015 22:19:06 +0200 Subject: [PATCH] Add a getter for fallback in Collection --- source/collection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/collection.h b/source/collection.h index 612a0af..06b8e34 100644 --- a/source/collection.h +++ b/source/collection.h @@ -284,6 +284,8 @@ protected: /** Sets a fallback collection, which will be consulted if an item is not found. */ void set_fallback(Collection *); + + Collection *get_fallback() const { return fallback; } }; template -- 2.43.0