Merge lp:~hjd/widelands/assert into lp:widelands

Proposed by Hans Joachim Desserud
Status: Merged
Merged at revision: 6348
Proposed branch: lp:~hjd/widelands/assert
Merge into: lp:widelands
Diff against target: 13 lines (+1/-1)
1 file modified
src/logic/message_queue.h (+1/-1)
To merge this branch: bzr merge lp:~hjd/widelands/assert
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+103340@code.launchpad.net

Description of the change

Another tiny fix from the cppcheck report.

To post a comment you must log in.
Revision history for this message
SirVer (sirver) wrote :

Merged! Thanks.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/logic/message_queue.h'
2--- src/logic/message_queue.h 2012-02-15 21:25:34 +0000
3+++ src/logic/message_queue.h 2012-04-24 18:10:44 +0000
4@@ -101,8 +101,8 @@
5 insert
6 (std::map<Message_Id, Message *>::end(),
7 std::pair<Message_Id, Message *>(++m_current_message_id, &message));
8+ assert_counts();
9 return m_current_message_id;
10- assert_counts();
11 }
12
13 /// Sets the status of the message with the given id, if it exists.

Subscribers

People subscribed via source and target branches

to status/vote changes: