diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-10-28 14:47:50 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-10-28 14:47:50 +0000 |
| commit | 25866cc22314bed8ba6d85841c74cda435509433 (patch) | |
| tree | 63dc6d2b7627361c55c8543c80f24dd484ef9c20 /cpp/src/qpid/sys | |
| parent | 973fb96e7abf08f940cdc777646268b3f93e7708 (diff) | |
| download | qpid-python-25866cc22314bed8ba6d85841c74cda435509433.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/sys')
| -rw-r--r-- | cpp/src/qpid/sys/unordered_map.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 <unordered_map> +#else +# include <tr1/unordered_map> +#endif /* _MSC_VER */ +namespace qpid { +namespace sys { + using std::tr1::unordered_map; +}} + + +#endif /* _sys_unordered_map_h */ |
