Rename struct to class (to help new C++ users who are unfamiliar that structs are classes).

This commit is contained in:
David Baird
2013-09-27 04:15:13 -06:00
parent 09c3ba8054
commit 1feac2e054
2 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
namespace easywsclient {
struct WebSocket {
class WebSocket {
public:
typedef WebSocket * pointer;
typedef enum readyStateValues { CLOSING, CLOSED, CONNECTING, OPEN } readyStateValues;