only possible anomaly I can see here
This commit is contained in:
parent
dcf5e68034
commit
288dfa6eb9
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ public:
|
|||
|
||||
/// assignment operator
|
||||
XrmDatabaseHelper& operator=(const XrmDatabase& database) {
|
||||
if (database == m_database) // assignment to self
|
||||
return *this;
|
||||
|
||||
if (m_database!=0)
|
||||
close();
|
||||
m_database = database;
|
||||
|
|
Loading…
Reference in a new issue