diff Core/HttpServer/MongooseServer.cpp @ 911:306afd58a0b3 plugins

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Jun 2014 13:45:22 +0200
parents ef71057d8b26
children dcb2469f00f4
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp	Fri Jun 20 13:38:19 2014 +0200
+++ b/Core/HttpServer/MongooseServer.cpp	Fri Jun 20 13:45:22 2014 +0200
@@ -68,12 +68,16 @@
   namespace
   {
     // Anonymous namespace to avoid clashes between compilation modules
-    class MongooseOutputStream : public HttpOutputStream
+    class MongooseOutputStream : public IHttpOutputStream
     {
     private:
       struct mg_connection* connection_;
 
-    protected:
+    public:
+      MongooseOutputStream(struct mg_connection* connection) : connection_(connection)
+      {
+      }
+
       virtual void Send(bool isHeader, const void* buffer, size_t length)
       {
         if (length > 0)
@@ -82,9 +86,9 @@
         }
       }
 
-    public:
-      MongooseOutputStream(struct mg_connection* connection) : connection_(connection)
+      virtual void OnHttpStatusReceived(HttpStatus status)
       {
+        // Ignore this
       }
     };