------------------------------------------------------------
revno: 3097
committer: poy <[email protected]>
branch nick: trunk
timestamp: Mon 2012-10-29 20:35:54 +0100
message:
  fix GCC build
modified:
  win32/MainWindow.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/MainWindow.cpp'
--- win32/MainWindow.cpp	2012-10-29 18:19:03 +0000
+++ win32/MainWindow.cpp	2012-10-29 19:35:54 +0000
@@ -648,7 +648,7 @@
 }
 
 void MainWindow::addPluginCommand(const tstring& text, function<void ()> command) {
-	pluginCommands.emplace(text, command);
+	pluginCommands[text] = command;
 
 	if(WinUtil::mainWindow && !WinUtil::mainWindow->closing()) {
 		WinUtil::mainWindow->pluginMenu->removeAllItems();

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to