Skip to content

Commit 1b418d7

Browse files
committed
Change function to weak declaration
1 parent bfc4856 commit 1b418d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/throw_out_of_range.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//TODO(edcoyne): remove this when it is present upstream.
44
// Currently this is needed to use std::string on Arduino.
55
namespace std{
6-
void __throw_out_of_range(const char* str) {
6+
void __attribute__((weak)) __throw_out_of_range(const char* str) {
77
panic();
88
}
99
}

0 commit comments

Comments
 (0)