We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c816b6 commit f69b51dCopy full SHA for f69b51d
cocos/network/CCDownloader.cpp
@@ -57,16 +57,7 @@ namespace cocos2d { namespace network {
57
58
////////////////////////////////////////////////////////////////////////////////
59
// Implement Downloader
60
- Downloader::Downloader()
61
- {
62
- DownloaderHints hints =
63
64
- 6,
65
- 45,
66
- ".tmp"
67
- };
68
- new(this)Downloader(hints);
69
- }
+ Downloader::Downloader() : Downloader(DownloaderHints{6, 45, ".tmp"}) { }
70
71
Downloader::Downloader(const DownloaderHints& hints)
72
{
0 commit comments