aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2014-01-09 19:39:07 +0100
committerMatthijs Kooijman <matthijs@stdin.nl>2014-01-15 16:20:48 +0100
commit46b0ada9a941607de0a2df80bf7f58d3a959ff57 (patch)
tree84a8d742591996b777d495966c462885f509c82f /cores/arduino/HardwareSerial.cpp
parentfbedfc4fbe05cdc01e654cc8d94accab96befeaa (diff)
Make some operators in IPAddress const
These functions do not modify the IPAddress object, but were not marked as const. This meant that you could not do: void set_ip(const IPAddress& ip) { uint32_t copy = ip; } Since calling operator uint32_t() on ip would discard the constness of the reference.
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
0 files changed, 0 insertions, 0 deletions