feat(Core): enable C++17 (#2234)

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
This commit is contained in:
Francesco Borzì
2019-09-02 08:54:10 +02:00
committed by Kargatum
parent cae91f1650
commit 3a43e8c415
28 changed files with 61 additions and 46 deletions

View File

@@ -209,4 +209,14 @@ typedef std::vector<std::string> StringVector;
ACE_Read_Guard< MUTEX > TRINITY_GUARD_OBJECT (LOCK); \
if (TRINITY_GUARD_OBJECT.locked() == 0) ASSERT(false);
namespace ACORE
{
template<class ArgumentType, class ResultType>
struct unary_function
{
typedef ArgumentType argument_type;
typedef ResultType result_type;
};
}
#endif