diff --git a/Builds/VisualStudio2015/RippleD.vcxproj b/Builds/VisualStudio2015/RippleD.vcxproj index 1ab7125d12..85c64da20e 100644 --- a/Builds/VisualStudio2015/RippleD.vcxproj +++ b/Builds/VisualStudio2015/RippleD.vcxproj @@ -299,7 +299,7 @@ True True - + diff --git a/Builds/VisualStudio2015/RippleD.vcxproj.filters b/Builds/VisualStudio2015/RippleD.vcxproj.filters index 838135c7f5..ebdb157701 100644 --- a/Builds/VisualStudio2015/RippleD.vcxproj.filters +++ b/Builds/VisualStudio2015/RippleD.vcxproj.filters @@ -31,8 +31,8 @@ {FF9CBE50-56A0-7B59-C99F-C873605C844B} - - {A3DFF000-1717-AE18-DD13-75DC3A36F594} + + {DED08E50-BA3F-9E32-7501-3B77F31A5C11} {FE3C8FFD-FEE1-BDEA-DE7F-24A8DEDCAD20} @@ -612,8 +612,8 @@ beast\crypto\tests - - beast\cxx14 + + beast\cxx17 beast diff --git a/src/beast/beast/cxx14/type_traits.h b/src/beast/beast/cxx17/type_traits.h similarity index 87% rename from src/beast/beast/cxx14/type_traits.h rename to src/beast/beast/cxx17/type_traits.h index be11f51f99..31bec59f6b 100644 --- a/src/beast/beast/cxx14/type_traits.h +++ b/src/beast/beast/cxx17/type_traits.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef BEAST_CXX14_TYPE_TRAITS_H_INCLUDED -#define BEAST_CXX14_TYPE_TRAITS_H_INCLUDED +#ifndef BEAST_CXX17_TYPE_TRAITS_H_INCLUDED +#define BEAST_CXX17_TYPE_TRAITS_H_INCLUDED #include #include @@ -26,6 +26,16 @@ namespace std { +#ifndef _MSC_VER + +template +using void_t = void; + +template +using bool_constant = std::integral_constant; + +#endif + // Ideas from Howard Hinnant // // Specializations of is_constructible for pair and tuple which @@ -41,6 +51,6 @@ struct is_constructible > { }; -} +} // std #endif diff --git a/src/ripple/beast/container/detail/aged_ordered_container.h b/src/ripple/beast/container/detail/aged_ordered_container.h index a6e69918c8..3ee9cfb66c 100644 --- a/src/ripple/beast/container/detail/aged_ordered_container.h +++ b/src/ripple/beast/container/detail/aged_ordered_container.h @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include #include #include @@ -35,7 +33,7 @@ #include #include #include -#include +#include // #include namespace beast {