Skip to content

Commit

Permalink
[12618] Remove unused constructor overloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberium committed Apr 1, 2014
1 parent 34d4083 commit 0ec52a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
12 changes: 0 additions & 12 deletions src/shared/ProgressBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ BarGoLink::BarGoLink(int row_count)
init(row_count);
}

BarGoLink::BarGoLink(uint32 row_count)
{
MANGOS_ASSERT(row_count < (uint32)ACE_INT32_MAX);
init((int)row_count);
}

BarGoLink::BarGoLink(uint64 row_count)
{
MANGOS_ASSERT(row_count < (uint64)ACE_INT32_MAX);
init((int)row_count);
}

BarGoLink::~BarGoLink()
{
if (!m_showOutput)
Expand Down
2 changes: 0 additions & 2 deletions src/shared/ProgressBar.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class MANGOS_DLL_SPEC BarGoLink
{
public: // constructors
explicit BarGoLink(int row_count);
explicit BarGoLink(uint32 row_count); // row_count < ACE_INT32_MAX
explicit BarGoLink(uint64 row_count); // row_count < ACE_INT32_MAX
~BarGoLink();

public: // modifiers
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 "12617"
#define REVISION_NR "12618"
#endif // __REVISION_NR_H__

1 comment on commit 0ec52a4

@cyberium
Copy link
Member

Choose a reason for hiding this comment

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

Sometimes i forget some basic things, again sorry, this code is from @vermie -> vermie/mangos@7e0fed7 iam not author of this.

Please sign in to comment.