From: Mikko Rasa Date: Thu, 8 Sep 2011 07:07:32 +0000 (+0300) Subject: Fix pointer loading X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=3c02de7bf2be5a8c98933a97090d911b41633cd5;p=libs%2Fdatafile.git Fix pointer loading --- diff --git a/source/loaderaction.h b/source/loaderaction.h index 5b2f0b0..afca01e 100644 --- a/source/loaderaction.h +++ b/source/loaderaction.h @@ -275,7 +275,7 @@ public: virtual void execute(Loader &l, const Statement &st) const { typename L::Loader &ldr = dynamic_cast(l); - ldr.get_object().*ptr0 = ldr.get_collection().template get(st.args[0].get()); + ldr.get_object().*ptr0 = &ldr.get_collection().template get(st.args[0].get()); } virtual std::string get_signature() const