From c4930d8d15a5a248ca921e0ed3f9bca8aa18b322 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 6 Sep 2007 04:55:45 +0000 Subject: [PATCH] Switch template parameters of load_sub around to allow automatic deduction --- source/loader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/loader.h b/source/loader.h index 6a0a1e3..7d5d8d9 100644 --- a/source/loader.h +++ b/source/loader.h @@ -251,12 +251,12 @@ protected: */ template void load_sub(S &s) - { load_sub(s); } + { load_sub(s); } /** Loads a sub-object with a custom Loader class. */ - template + template void load_sub(S &s) { if(!cur_st) @@ -269,7 +269,7 @@ protected: Loads a sub-object with a custom Loader class that takes one argument in addition to to object to be loaded. */ - template + template void load_sub(S &s, T &p) { if(!cur_st) -- 2.45.2