Commit bc68bdf3 authored by Rob Williamson's avatar Rob Williamson

Avoid macro invocation in examples

Alpine defines macros 'major' & 'minor', so the functions modified are
parsed as macro invocations. The rename avoids this collision.
parent 2e1dd87a
......@@ -46,11 +46,11 @@ public:
os << "." << min;
}
uint32_t major() const {
uint32_t majorVersion() const {
return maj;
}
uint32_t minor() const {
uint32_t minorVersion() const {
return min;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment