diff options
author | Nuno Santos <nsantos@apache.org> | 2008-03-25 20:30:01 +0000 |
---|---|---|
committer | Nuno Santos <nsantos@apache.org> | 2008-03-25 20:30:01 +0000 |
commit | aefbf926e26e61460a5a11533361a8da9c11bb9c (patch) | |
tree | 3971bd2ad4ae9108b0b20239bf08020e9753b4ce /cpp/managementgen/templates/Class.cpp | |
parent | 5444def1a124b7ef609ad2a585d333a4654c736a (diff) | |
download | qpid-python-aefbf926e26e61460a5a11533361a8da9c11bb9c.tar.gz |
QPID-877: applied patch from Ted Ross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/managementgen/templates/Class.cpp')
-rw-r--r-- | cpp/managementgen/templates/Class.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/managementgen/templates/Class.cpp b/cpp/managementgen/templates/Class.cpp index 2a3f71e262..3c3dfff5a2 100644 --- a/cpp/managementgen/templates/Class.cpp +++ b/cpp/managementgen/templates/Class.cpp @@ -106,11 +106,12 @@ void /*MGEN:Class.NameCap*/::writeConfig (Buffer& buf) /*MGEN:Class.WriteConfig*/ } -void /*MGEN:Class.NameCap*/::writeInstrumentation (Buffer& buf) +void /*MGEN:Class.NameCap*/::writeInstrumentation (Buffer& buf, bool skipHeaders) { instChanged = false; - writeTimestamps (buf); + if (!skipHeaders) + writeTimestamps (buf); /*MGEN:Class.WriteInst*/ // Maintenance of hi-lo statistics |