Removed std::nothrow because it's not supported in Arduino
Fixed GCC warning