From 48aa15f2c5454daf575cae9b54e226fd6d885687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 6 Feb 2012 12:16:38 +0100 Subject: [PATCH] Preprocessor: add warning message for signature of checkPass method --- Statement.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Statement.hh b/Statement.hh index 5625c24f..12101da0 100644 --- a/Statement.hh +++ b/Statement.hh @@ -110,6 +110,10 @@ class Statement public: virtual ~Statement(); //! Do some internal check, and fill the ModFileStructure class + /*! Don't forget to update ComputingTasks.hh, Shocks.hh and + NumericalInitialization.hh if you modify the signature of this + method. Otherwise the default implementation (i.e. a no-op) will apply and + some checks won't be run. */ virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings); virtual void computingPass(); //! Write Matlab output code