We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1723a commit af35e24Copy full SHA for af35e24
src/websocket.cc
@@ -104,7 +104,7 @@ NotificationFrame::~NotificationFrame() {
104
}
105
106
string
107
-NotificationFrame::getSubject() {
+NotificationFrame::getSubject() const {
108
string type("Unknown notification type");
109
string dataStr(mData, mDataLength);
110
int posStart = dataStr.find("\"type\":\"");
src/websocket.h
@@ -49,7 +49,7 @@ class NotificationFrame : public WebSocketFrame
49
NotificationFrame(int flags);
50
virtual ~NotificationFrame();
51
52
- virtual string getSubject();
+ virtual string getSubject() const;
53
virtual void setSubject(string subject);
54
};
55
0 commit comments