Add missing <functional> header which the standard requires and will be necessary to use std::function in VS2019. (#18989)

This commit is contained in:
Billy O'Neal 2018-09-20 02:49:15 -07:00 committed by minggo
parent b170daf9d8
commit 6a52b3ff4a
2 changed files with 6 additions and 4 deletions

View File

@ -29,10 +29,11 @@
#if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32
#include <string>
#include <mutex>
#include <vector>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#ifdef OPENAL_PLAIN_INCLUDES
#include <al.h>
#else

View File

@ -29,9 +29,10 @@
#if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32
#include <string>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <string>
#include <thread>
#ifdef OPENAL_PLAIN_INCLUDES
#include <al.h>