correct some documentation & fix warnings
This commit is contained in:
@@ -55,7 +55,7 @@ class disabled {
|
||||
public:
|
||||
/// Negotiate extension
|
||||
/**
|
||||
* The disabled extension always fails the negotiation with a disabled
|
||||
* The disabled extension always fails the negotiation with a disabled
|
||||
* error.
|
||||
*
|
||||
* @param offer Attribute from client's offer
|
||||
@@ -66,7 +66,13 @@ public:
|
||||
}
|
||||
|
||||
/// Initialize state
|
||||
lib::error_code init(bool is_server) {
|
||||
/**
|
||||
* For the disabled extension state initialization is a no-op.
|
||||
*
|
||||
* @param is_server True to initialize as a server, false for a client.
|
||||
* @return A code representing the error that occurred, if any
|
||||
*/
|
||||
lib::error_code init(bool) {
|
||||
return lib::error_code();
|
||||
}
|
||||
|
||||
|
||||
@@ -254,7 +254,7 @@ public:
|
||||
*
|
||||
* @todo memory level, strategy, etc are hardcoded
|
||||
*
|
||||
* @param is_server Whether or not to initialize as a server or client.
|
||||
* @param is_server True to initialize as a server, false for a client.
|
||||
* @return A code representing the error that occurred, if any
|
||||
*/
|
||||
lib::error_code init(bool is_server) {
|
||||
@@ -450,7 +450,7 @@ public:
|
||||
* @param response The server response attribute list to validate
|
||||
* @return Validation error or 0 on success
|
||||
*/
|
||||
lib::error_code validate_offer(http::attribute_list const & response) {
|
||||
lib::error_code validate_offer(http::attribute_list const &) {
|
||||
return lib::error_code();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user