Skip to content

Commit

Permalink
[10974] Possible fix for GCC based build problems after prev. commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Jan 6, 2011
1 parent 84e29e0 commit 35028c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/game/MassMailMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ class MassMailMgr
MANGOS_ASSERT(mailProto);
}

explicit MassMail(MassMail const& massmail)
: m_protoMail(const_cast<MassMail&>(massmail).m_protoMail), m_sender(massmail.m_sender)
{
}

/// m_protoMail is owned by MassMail, so at copy original MassMail field set to NULL
std::auto_ptr<MailDraft> m_protoMail;

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10973"
#define REVISION_NR "10974"
#endif // __REVISION_NR_H__

1 comment on commit 35028c6

@rsa
Copy link
Contributor

@rsa rsa commented on 35028c6 Jan 6, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compiling on GCC restored, thx.

Please sign in to comment.