Changeset 230620 in webkit
- Timestamp:
- Apr 12, 2018 6:56:24 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230619 r230620 1 2018-04-12 Christopher Reid <chris.reid@sony.com> 2 3 [Curl] Fix clang build error in CurlContext.cpp 4 https://bugs.webkit.org/show_bug.cgi?id=184561 5 6 Reviewed by Darin Adler. 7 8 MSVC allows explicit template specialization in classes but gcc/clang do not. 9 10 * platform/network/curl/CurlContext.cpp: 11 1 12 2018-04-12 Christopher Reid <chris.reid@sony.com> 2 13 -
trunk/Source/WebCore/platform/network/curl/CurlContext.cpp
r230303 r230620 67 67 return nullptr; 68 68 } 69 70 // define specialized member function for specific type.71 template<> constexpr const char* sscanTemplate<signed>() { return "%d"; }72 template<> constexpr const char* sscanTemplate<unsigned>() { return "%u"; }73 69 }; 70 71 template<> 72 constexpr const char* EnvironmentVariableReader::sscanTemplate<signed>() { return "%d"; } 73 74 template<> 75 constexpr const char* EnvironmentVariableReader::sscanTemplate<unsigned>() { return "%u"; } 74 76 75 77 // CurlContext -------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.