We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a8293 commit 58a8f6dCopy full SHA for 58a8f6d
cores/siwigsm/WString.cpp
@@ -692,6 +692,8 @@ void String::remove(unsigned int index){
692
remove(index, (unsigned int)-1);
693
}
694
695
+#pragma GCC diagnostic push
696
+#pragma GCC diagnostic ignored "-Wrestrict"
697
void String::remove(unsigned int index, unsigned int count){
698
if (index >= len) { return; }
699
if (count <= 0) { return; }
@@ -701,6 +703,7 @@ void String::remove(unsigned int index, unsigned int count){
701
703
strncpy(writeTo, buffer + index + count,len - index);
702
704
buffer[len] = 0;
705
706
+#pragma GCC diagnostic pop
707
708
void String::toLowerCase(void)
709
{
0 commit comments