From 238ad16150be4f5d5d3e3b7bc7b14cdfa8b6a0b9 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 2 Oct 2001 22:38:44 +0000 Subject: [PATCH] trivial tweak --- dtool/src/interrogate/functionWriters.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dtool/src/interrogate/functionWriters.cxx b/dtool/src/interrogate/functionWriters.cxx index 1821dd1a8d..90c651015b 100644 --- a/dtool/src/interrogate/functionWriters.cxx +++ b/dtool/src/interrogate/functionWriters.cxx @@ -73,7 +73,7 @@ write_prototypes(ostream &out) { Writers::iterator wi; for (wi = _writers.begin(); wi != _writers.end(); ++wi) { FunctionWriter *writer = (*wi); - (*wi)->write_prototype(out); + writer->write_prototype(out); } } @@ -86,6 +86,7 @@ void FunctionWriters:: write_code(ostream &out) { Writers::iterator wi; for (wi = _writers.begin(); wi != _writers.end(); ++wi) { - (*wi)->write_code(out); + FunctionWriter *writer = (*wi); + writer->write_code(out); } }