mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] add const qualifier
This commit is contained in:
@@ -10,7 +10,7 @@ typedef uint64_t double_native_uint_t;
|
||||
class Integer : public Expression {
|
||||
public:
|
||||
Integer(native_uint_t i);
|
||||
static Integer parseInteger(char * string);
|
||||
static Integer parseInteger(const char * string);
|
||||
|
||||
virtual void draw();
|
||||
virtual Expression ** children();
|
||||
|
||||
@@ -103,7 +103,7 @@ Integer::Integer(native_uint_t * digits, uint16_t numberOfDigits) :
|
||||
m_digits(digits) {
|
||||
}
|
||||
|
||||
Integer Integer::parseInteger(char * string) {
|
||||
Integer Integer::parseInteger(const char * string) {
|
||||
int base = 10;
|
||||
int stringLength = strlen(string);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user