From 25866cc22314bed8ba6d85841c74cda435509433 Mon Sep 17 00:00:00 2001 From: Kenneth Anthony Giusti Date: Fri, 28 Oct 2011 14:47:50 +0000 Subject: QPID-3346: prevent taking non-head of free group, additional performance tweaks git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1190374 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/unordered_map.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 cpp/src/qpid/sys/unordered_map.h (limited to 'cpp/src/qpid/sys') diff --git a/cpp/src/qpid/sys/unordered_map.h b/cpp/src/qpid/sys/unordered_map.h new file mode 100644 index 0000000000..5f7f9567c5 --- /dev/null +++ b/cpp/src/qpid/sys/unordered_map.h @@ -0,0 +1,35 @@ +#ifndef _sys_unordered_map_h +#define _sys_unordered_map_h + +/* + * + * Copyright (c) 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// unordered_map include path is platform specific + +#ifdef _MSC_VER +# include +#else +# include +#endif /* _MSC_VER */ +namespace qpid { +namespace sys { + using std::tr1::unordered_map; +}} + + +#endif /* _sys_unordered_map_h */ -- cgit v1.2.1