diff options
-rw-r--r-- | include/comphelper/profilezone.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx index 6702619b6008..7c278294cb38 100644 --- a/include/comphelper/profilezone.hxx +++ b/include/comphelper/profilezone.hxx @@ -38,6 +38,10 @@ private: const char * m_sProfileId; long long m_aCreateTime; public: + + // Note that the char pointer is stored as such in the ProfileZone object and used in the + // destructor, so be sure to pass a pointer that stays valid for the duration of the object's + // lifetime. ProfileZone(const char * sProfileId); ~ProfileZone(); }; |