forgot const ref for setRootCommand
fluxgen fluxgen
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/Theme.hh
→
src/Theme.hh
@@ -42,7 +42,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.hh,v 1.9 2002/05/15 09:35:49 fluxgen Exp $ +// $Id: Theme.hh,v 1.10 2002/07/19 21:44:06 fluxgen Exp $ #ifndef THEME_HH #define THEME_HH@@ -124,7 +124,7 @@ inline const BColor &getBorderColor(void) const { return m_border_color; }
void load(const char *filename); void reconfigure(); - inline void setRootCommand(std::string command) { m_rootcommand = command; } + inline void setRootCommand(const std::string &command) { m_rootcommand = command; }