rename Plane::putwc -> Plane::putwch to not conflict with stdlib macro #1046

pull/1060/head
nick black 4 years ago committed by Nick Black
parent 8228ba8204
commit be0136874f

@ -482,13 +482,13 @@ namespace ncpp
// OK, this is ugly, but we need to rename this overload or calls similar to n->putc (0, 0, '0') will be
// considered ambiguous with the above `putc (int, int, char)` overload.
int putwc (int y, int x, wchar_t w) const NOEXCEPT_MAYBE
int putwch (int y, int x, wchar_t w) const NOEXCEPT_MAYBE
{
return error_guard<int> (ncplane_putwc_yx (plane, y, x, w), -1);
}
// Ditto
int putwc (wchar_t w) const NOEXCEPT_MAYBE
int putwch (wchar_t w) const NOEXCEPT_MAYBE
{
return error_guard<int> (ncplane_putwc (plane, w), -1);
}

Loading…
Cancel
Save