X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Floaderaction.h;h=a6eb552e981e38f329ab626c34d2cae9c7afc504;hb=e4beb0453a1cfe200fc97607afab94c3ddee1c65;hp=03a9da7bcc1aa8fc33823f404a0426f704aaeaed;hpb=e2a4cefe59dd3e6e1b2fac2fb7232326bb2b0787;p=libs%2Fdatafile.git diff --git a/source/loaderaction.h b/source/loaderaction.h index 03a9da7..a6eb552 100644 --- a/source/loaderaction.h +++ b/source/loaderaction.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2008, 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_LOADERACTION_H_ #define MSP_DATAFILE_LOADERACTION_H_ @@ -283,8 +276,6 @@ public: virtual void execute(Loader &l, const Statement &st) const { typename L::Loader &ldr = dynamic_cast(l); - if(!ldr.is_pointer_reload_allowed() && ldr.get_object().*ptr0) - throw InvalidState("The pointer has already been loaded"); ldr.get_object().*ptr0 = ldr.get_collection().template get(st.args[0].get()); }