fix more warnings; add to CI; suppress some warnings
This commit is contained in:
@@ -99,7 +99,7 @@ template <class T> class MemoryPool : public Allocator<T>
|
||||
~MemoryPool() { delete[] buf; }
|
||||
|
||||
/// Return a buffer for use by others
|
||||
virtual void release(T *p)
|
||||
void release(T *p)
|
||||
{
|
||||
assert(p >= buf &&
|
||||
(size_t)(p - buf) <
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ class PhoneAPI
|
||||
|
||||
// Call this when the client drops the connection, resets the state to STATE_SEND_NOTHING
|
||||
// Unregisters our observer. A closed connection **can** be reopened by calling init again.
|
||||
virtual void close();
|
||||
void close();
|
||||
|
||||
/**
|
||||
* Handle a ToRadio protobuf
|
||||
|
||||
@@ -36,7 +36,7 @@ class HttpAPI : public PhoneAPI
|
||||
protected:
|
||||
|
||||
/// Check the current underlying physical link to see if the client is currently connected
|
||||
virtual bool checkIsConnected() { return true; } // FIXME, be smarter about this
|
||||
virtual bool checkIsConnected() override { return true; } // FIXME, be smarter about this
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class WiFiServerAPI : public StreamAPI
|
||||
virtual ~WiFiServerAPI();
|
||||
|
||||
/// override close to also shutdown the TCP link
|
||||
virtual void close() override;
|
||||
virtual void close();
|
||||
|
||||
protected:
|
||||
/// We override this method to prevent publishing EVENT_SERIAL_CONNECTED/DISCONNECTED for wifi links (we want the board to
|
||||
|
||||
Reference in New Issue
Block a user