Added std:: prefix to more C standard library uses (#106)

This commit is contained in:
Tyler Veness
2016-06-19 00:19:45 -07:00
committed by Peter Johnson
parent daa0260a4e
commit cee9b2609d
14 changed files with 69 additions and 68 deletions

View File

@@ -20,7 +20,7 @@
DigitalInput::DigitalInput(uint32_t channel) {
char buf[64];
m_channel = channel;
int n = sprintf(buf, "dio/%d", channel);
int n = std::sprintf(buf, "dio/%d", channel);
m_impl = new SimDigitalInput(buf);
}