Skip to content

Commit 6cd5c20

Browse files
committed
Make the C++ exceptions here consistent
Adding a C source file somehow exposed an issue in an unrelated C++ file. Thanks to Joe Groff for the fix.
1 parent 849e31c commit 6cd5c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/WeakReference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class WeakReferenceBits {
113113

114114
public:
115115
LLVM_ATTRIBUTE_ALWAYS_INLINE
116-
WeakReferenceBits() { }
116+
WeakReferenceBits() noexcept { }
117117

118118
LLVM_ATTRIBUTE_ALWAYS_INLINE
119119
WeakReferenceBits(HeapObjectSideTableEntry *newValue) {

0 commit comments

Comments
 (0)