diff options
Diffstat (limited to 'include/cppunit/SourceLine.h')
| -rw-r--r-- | include/cppunit/SourceLine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cppunit/SourceLine.h b/include/cppunit/SourceLine.h index 71eeaed..f7a85df 100644 --- a/include/cppunit/SourceLine.h +++ b/include/cppunit/SourceLine.h @@ -32,9 +32,14 @@ class CPPUNIT_API SourceLine public: SourceLine(); + // Ensure thread-safe copy by detaching the string buffer. + SourceLine( const SourceLine &other ); + SourceLine( const std::string &fileName, int lineNumber ); + SourceLine &operator =( const SourceLine &other ); + /// Destructor. virtual ~SourceLine(); |
