From e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 15 Feb 2009 22:21:45 +0100 Subject: Removed unnecessary parenthesis at constructors When not passing any parameters to constructors, there is no reason for using parenthesis. --- src/gui/skill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/skill.cpp') diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 05b782d5..c3532072 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -236,7 +236,7 @@ bool SkillDialog::hasSkill(int id) void SkillDialog::addSkill(int id, int lvl, int mp) { - SKILL *tmp = new SKILL(); + SKILL *tmp = new SKILL; tmp->id = id; tmp->lv = lvl; tmp->sp = mp; -- cgit v1.2.3-70-g09d2