mirror of
https://github.com/socketio/socket.io-client-cpp.git
synced 2026-06-09 19:54:46 +00:00
add double accessor for int_message
This commit is contained in:
parent
8ca73b832f
commit
d0e4805fa4
@ -122,6 +122,11 @@ namespace sio
|
||||
{
|
||||
return _v;
|
||||
}
|
||||
|
||||
double get_double() const//add double accessor for integer.
|
||||
{
|
||||
return static_cast<double>(_v);
|
||||
}
|
||||
};
|
||||
|
||||
class double_message : public message
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user