Run Clang-tidy with modernize-use-auto (#1077)

* Run clang-tidy modify with modernize-use-auto
* Use using instead of typedef
This commit is contained in:
Chen
2019-12-04 09:08:45 +08:00
committed by GitHub
parent a0bd9adfef
commit 2983f5a89a
14 changed files with 62 additions and 61 deletions

View File

@@ -54,7 +54,7 @@ namespace Json {
#if __cplusplus >= 201103L || (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
using CharReaderPtr = std::unique_ptr<CharReader>;
#else
typedef std::auto_ptr<CharReader> CharReaderPtr;
using CharReaderPtr = std::auto_ptr<CharReader>;
#endif
// Implementation of class Features