diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llhttpnode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llhttpnode.h b/linden/indra/llmessage/llhttpnode.h index ae64a63..db82296 100644 --- a/linden/indra/llmessage/llhttpnode.h +++ b/linden/indra/llmessage/llhttpnode.h | |||
@@ -88,9 +88,10 @@ public: | |||
88 | 88 | ||
89 | class Response : public LLRefCount | 89 | class Response : public LLRefCount |
90 | { | 90 | { |
91 | public: | 91 | protected: |
92 | virtual ~Response(); | 92 | virtual ~Response(); |
93 | 93 | ||
94 | public: | ||
94 | virtual void result(const LLSD&) = 0; | 95 | virtual void result(const LLSD&) = 0; |
95 | virtual void status(S32 code, const std::string& message) = 0; | 96 | virtual void status(S32 code, const std::string& message) = 0; |
96 | 97 | ||
@@ -225,7 +226,6 @@ class LLSimpleResponse : public LLHTTPNode::Response | |||
225 | { | 226 | { |
226 | public: | 227 | public: |
227 | static LLPointer<LLSimpleResponse> create(); | 228 | static LLPointer<LLSimpleResponse> create(); |
228 | ~LLSimpleResponse(); | ||
229 | 229 | ||
230 | void result(const LLSD& result); | 230 | void result(const LLSD& result); |
231 | void status(S32 code, const std::string& message); | 231 | void status(S32 code, const std::string& message); |
@@ -235,6 +235,9 @@ public: | |||
235 | S32 mCode; | 235 | S32 mCode; |
236 | std::string mMessage; | 236 | std::string mMessage; |
237 | 237 | ||
238 | protected: | ||
239 | ~LLSimpleResponse(); | ||
240 | |||
238 | private: | 241 | private: |
239 | LLSimpleResponse() {;} // Must be accessed through LLPointer. | 242 | LLSimpleResponse() {;} // Must be accessed through LLPointer. |
240 | }; | 243 | }; |