X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Floaderaction.h;h=afca01e9ba3b478d95bd320e550f0cf7fbf08fff;hb=8955db30f9cd1c1566b349da29e669f065f84e36;hp=5b2f0b0f022016cc97dbce52bb3d09aab7887bf0;hpb=302f73123da1194dd91b43138cd880cae9318a14;p=libs%2Fdatafile.git 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