summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-02 23:41:18 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-02 23:41:18 +0000
commit5877920183809117560cded151e054f720fcee18 (patch)
treebe57ff7d5a230fc400a97944e8e6361c78257fe0 /libcxx/include
parent918f32fc7b2f4e3c7f3b76db941822aa8ffb5197 (diff)
downloadbcm5719-llvm-5877920183809117560cded151e054f720fcee18.tar.gz
bcm5719-llvm-5877920183809117560cded151e054f720fcee18.zip
Fix C++03 build
llvm-svn: 288555
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/memory2
-rw-r--r--libcxx/include/variant2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/memory b/libcxx/include/memory
index e4cb58b8db2..8a3237f3238 100644
--- a/libcxx/include/memory
+++ b/libcxx/include/memory
@@ -3352,7 +3352,7 @@ inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT {
size_t second;
};
typedef __scalar_hash<_PairT> _HashT;
- const _PairT __p{__lhs, __rhs};
+ const _PairT __p = {__lhs, __rhs};
return _HashT()(__p);
}
diff --git a/libcxx/include/variant b/libcxx/include/variant
index 45efc78ed19..94c1eced0ed 100644
--- a/libcxx/include/variant
+++ b/libcxx/include/variant
@@ -216,7 +216,7 @@ namespace std { // explicitly not using versioning namespace
class _LIBCPP_EXCEPTION_ABI bad_variant_access : public exception {
public:
- _LIBCPP_FUNC_VIS virtual const char* what() const noexcept;
+ _LIBCPP_FUNC_VIS virtual const char* what() const _NOEXCEPT;
};
} // namespace std
OpenPOWER on IntegriCloud