Appveyor: Fix missing #include for uint16_t
This commit is contained in:
parent
cdeb91bfcc
commit
1ca6d9c847
|
@ -32,6 +32,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cctype>
|
||||||
|
|
||||||
class TestValueFlow : public TestFixture {
|
class TestValueFlow : public TestFixture {
|
||||||
public:
|
public:
|
||||||
|
@ -929,7 +930,7 @@ private:
|
||||||
"x = sizeof(arr);";
|
"x = sizeof(arr);";
|
||||||
values = tokenValues(code,"( arr )");
|
values = tokenValues(code,"( arr )");
|
||||||
ASSERT_EQUALS(1U, values.size());
|
ASSERT_EQUALS(1U, values.size());
|
||||||
ASSERT_EQUALS(10 * sizeof(uint16_t), values.back().intvalue);
|
ASSERT_EQUALS(10 * sizeof(std::uint16_t), values.back().intvalue);
|
||||||
}
|
}
|
||||||
|
|
||||||
void valueFlowErrorPath() {
|
void valueFlowErrorPath() {
|
||||||
|
|
Loading…
Reference in New Issue