Posted (April 28, 2011, 10:30 a.m.)
-
src/base/debug.hh (Diff revision 1) -
Granted you're just moving this code, but it seems like a really roundabout way to avoid passing f as a pointer. Is there a reason you're using a reference?
Posted (April 28, 2011, 11:04 a.m.)
-
src/base/debug.hh (Diff revision 1) -
I want a reference in the constructor for sure because I don't want people to pass NULL or anything like that. Since I want a reference in the constructor, it's easier to have a reference here.
