$NetBSD: patch-bf,v 1.2 2009/07/07 15:47:59 sborrill Exp $ Adding "const" to a primitive type is useless. Sunpro doesn't like it. --- src/CurrentWindowCmd.cc.orig 2008-09-01 16:59:05.000000000 +0100 +++ src/CurrentWindowCmd.cc 2009-07-06 12:50:49.000000000 +0100 @@ -348,7 +348,7 @@ REGISTER_COMMAND_PARSER(moveup, MoveCmd::parse, void); REGISTER_COMMAND_PARSER(movedown, MoveCmd::parse, void); -MoveCmd::MoveCmd(const int step_size_x, const int step_size_y) : +MoveCmd::MoveCmd(int step_size_x, int step_size_y) : m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } void MoveCmd::real_execute() { @@ -379,7 +379,7 @@ REGISTER_COMMAND_PARSER(resizehorizontal, ResizeCmd::parse, void); REGISTER_COMMAND_PARSER(resizevertical, ResizeCmd::parse, void); -ResizeCmd::ResizeCmd(const int step_size_x, const int step_size_y) : +ResizeCmd::ResizeCmd(int step_size_x, int step_size_y) : m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } void ResizeCmd::real_execute() { @@ -440,7 +440,7 @@ } -ResizeToCmd::ResizeToCmd(const int step_size_x, const int step_size_y) : +ResizeToCmd::ResizeToCmd(int step_size_x, int step_size_y) : m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } void ResizeToCmd::real_execute() {