X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Floader.h;h=5b39212e53c32beceda2cc3227109dc9eb4c9b6c;hb=d84673be1c2fe8bd32ddaa7877529855cad6daa0;hp=5f4037c73dbedbe846cd13213b31784b1510df2d;hpb=fe05108357b21f5c7b9bfe9e2c3d88052a59ad69;p=libs%2Fdatafile.git diff --git a/source/loader.h b/source/loader.h index 5f4037c..5b39212 100644 --- a/source/loader.h +++ b/source/loader.h @@ -361,7 +361,7 @@ void load(T &obj, const std::string &fn) } template -void load(T &obj, const std::string &fn, U arg) +void load(T &obj, const std::string &fn, U &arg) { IO::File in(fn); IO::Buffered buf(in);