OSDN Git Service

fix message reporting in derived classes
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 12 Aug 2009 11:00:21 +0000 (13:00 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 14 Aug 2009 09:48:05 +0000 (11:48 +0200)
commit3a24a6992b3a6eacb2a41a6bf1f6349ca8a31baa
tree4decbdcad089f77855ee0da8218952cceb047169
parentf1f2d0cd885005a533f4c84bcb886a5500783348
fix message reporting in derived classes

{log,error,file}Message() cannot contain logic which makes the output
conditional on private evaluator state, as they are virtual and thus
derived classes could receive messages which they are not supposed to
receive. so put the logic into likewise named functions in the private
class and call these throughout.
src/shared/proparser/profileevaluator.cpp