summaryrefslogtreecommitdiff
path: root/include/deque
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-06-03 17:30:28 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-06-03 17:30:28 +0000
commitc560727d5e847f2628dc1246c1d35c4d9949389f (patch)
tree1a9e79c651bef10ae5ee1972149328c72b4e08b5 /include/deque
parentb965fed10bc47c74ed491717af082ecf5c8b815b (diff)
noexcept for <list>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/deque')
-rw-r--r--include/deque3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/deque b/include/deque
index 6ada42a66..10f78a97e 100644
--- a/include/deque
+++ b/include/deque
@@ -143,7 +143,8 @@ template <class T, class Allocator>
// specialized algorithms:
template <class T, class Allocator>
- void swap(deque<T,Allocator>& x, deque<T,Allocator>& y) noexcept(x.swap(y));
+ void swap(deque<T,Allocator>& x, deque<T,Allocator>& y)
+ noexcept(noexcept(x.swap(y)));
} // std