diff options
author | Christian D. Ott <cott@tapir.caltech.edu> | 2010-10-22 06:02:20 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:25:35 +0000 |
commit | 7751eb7cb3f44870c49c8da98c86470153cd2cd4 (patch) | |
tree | 4585c17cb08e11b6aa858193c74b056b0bbc490b /Carpet/Carpet/src/ScheduleWrapper.cc | |
parent | 624c5115f4e8d82dff4db3311edd96a0224926ca (diff) |
* change prototype type of CallAfterRoutines and CallBeforeRoutines
from void to int to make Carpet compile again.
* actually return return values from these functions
to make Carpet work again.
Diffstat (limited to 'Carpet/Carpet/src/ScheduleWrapper.cc')
-rw-r--r-- | Carpet/Carpet/src/ScheduleWrapper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/ScheduleWrapper.cc b/Carpet/Carpet/src/ScheduleWrapper.cc index 13a665938..f598afa78 100644 --- a/Carpet/Carpet/src/ScheduleWrapper.cc +++ b/Carpet/Carpet/src/ScheduleWrapper.cc @@ -60,6 +60,7 @@ namespace Carpet { { skip |= (* fli) (cctkGH, function, attribute, data); } + return skip; } int @@ -74,6 +75,7 @@ namespace Carpet { { res |= (* fli) (cctkGH, function, attribute, data); } + return res; } } // namespace Carpet |