From 2ba7267db518bc5aaa8bfc72273c3355493a64a3 Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 31 Oct 2006 15:54:55 +0000 Subject: [PATCH] note about thread safety git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@66 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/util/error.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/error.cpp b/src/util/error.cpp index 7d614dca..c09dc703 100644 --- a/src/util/error.cpp +++ b/src/util/error.cpp @@ -29,6 +29,7 @@ DECLARE_TYPEOF_COLLECTION(String); void handle_error(const String& e, bool allow_duplicate = true, bool now = true) { // Check duplicates + // TODO: thread safety if (!allow_duplicate) { FOR_EACH(pe, previous_errors) { if (e == pe) return;