mirror of https://github.com/aria2/aria2
Make clang (OSX) happy again
parent
3f2b5dce2f
commit
a3ba5c0588
|
@ -33,6 +33,9 @@
|
||||||
*/
|
*/
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "DHTInteractionCommand.h"
|
#include "DHTInteractionCommand.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "DownloadEngine.h"
|
#include "DownloadEngine.h"
|
||||||
#include "RecoverableException.h"
|
#include "RecoverableException.h"
|
||||||
#include "DHTMessageDispatcher.h"
|
#include "DHTMessageDispatcher.h"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "FtpConnection.h"
|
#include "FtpConnection.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "GZipEncoder.h"
|
#include "GZipEncoder.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "fmt.h"
|
#include "fmt.h"
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#ifndef D_GENERIC_PARSER_H
|
#ifndef D_GENERIC_PARSER_H
|
||||||
#define D_GENERIC_PARSER_H
|
#define D_GENERIC_PARSER_H
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "a2io.h"
|
#include "a2io.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "IOFile.h"
|
#include "IOFile.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "IteratableChecksumValidator.h"
|
#include "IteratableChecksumValidator.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "IteratableChunkChecksumValidator.h"
|
#include "IteratableChunkChecksumValidator.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "MSEHandshake.h"
|
#include "MSEHandshake.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "Piece.h"
|
#include "Piece.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
|
@ -93,7 +93,7 @@ public:
|
||||||
|
|
||||||
const Clock::time_point& getTime() const { return tp_; }
|
const Clock::time_point& getTime() const { return tp_; }
|
||||||
|
|
||||||
constexpr static Timer zero() { return Timer(0_s); }
|
static Timer zero() { return Timer(0_s); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Clock::time_point tp_;
|
Clock::time_point tp_;
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
*/
|
*/
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "XmlParser.h"
|
#include "XmlParser.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "a2io.h"
|
#include "a2io.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "message_digest_helper.h"
|
#include "message_digest_helper.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
*/
|
*/
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "metalink_helper.h"
|
#include "metalink_helper.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "Option.h"
|
#include "Option.h"
|
||||||
#include "MetalinkEntry.h"
|
#include "MetalinkEntry.h"
|
||||||
#include "MetalinkParserStateMachine.h"
|
#include "MetalinkParserStateMachine.h"
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
# include <pwd.h>
|
# include <pwd.h>
|
||||||
#endif // HAVE_PWD_H
|
#endif // HAVE_PWD_H
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <cppunit/extensions/HelperMacros.h>
|
#include <cppunit/extensions/HelperMacros.h>
|
||||||
|
|
||||||
|
#include "a2functional.h"
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
#include "DefaultDiskWriter.h"
|
#include "DefaultDiskWriter.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue