From 560ff04a4d485822d7e4ed1f40d29499d38f4204 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Jul 2007 19:47:10 +0000 Subject: [PATCH] fixed linux build --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401105 --- core/sm_queue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/sm_queue.h b/core/sm_queue.h index 783e6ed2..99a50c12 100644 --- a/core/sm_queue.h +++ b/core/sm_queue.h @@ -309,7 +309,8 @@ public: void pop() { - erase(begin()); + iterator iter = begin(); + erase(iter); } };