mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
make clang-format using clang-format-3.6
This commit is contained in:
parent
4abad2f64c
commit
b1132d6b10
1095 changed files with 30423 additions and 33770 deletions
|
@ -6,15 +6,15 @@
|
|||
|
||||
namespace aria2 {
|
||||
|
||||
class MockExtensionMessageFactory:public ExtensionMessageFactory {
|
||||
class MockExtensionMessageFactory : public ExtensionMessageFactory {
|
||||
public:
|
||||
virtual ~MockExtensionMessageFactory() {}
|
||||
|
||||
virtual std::unique_ptr<ExtensionMessage>
|
||||
createMessage(const unsigned char* data, size_t length) CXX11_OVERRIDE
|
||||
{
|
||||
return make_unique<MockExtensionMessage>
|
||||
("a2_mock", *data, data+1, length-1, nullptr);
|
||||
return make_unique<MockExtensionMessage>("a2_mock", *data, data + 1,
|
||||
length - 1, nullptr);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue