From 3c02de7bf2be5a8c98933a97090d911b41633cd5 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 8 Sep 2011 10:07:32 +0300 Subject: [PATCH] Fix pointer loading --- source/loaderaction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2