From: Mikko Rasa Date: Tue, 24 Nov 2015 20:19:06 +0000 (+0200) Subject: Add a getter for fallback in Collection X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=43b8dee0bf05dee1b4a07cc001fae0c81ec53a2f;p=libs%2Fdatafile.git Add a getter for fallback in Collection --- 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