mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Declare 'nullptr_t' manually in WFTaskFactory. (#1669)
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
#include <time.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <utility>
|
||||
#include <functional>
|
||||
@@ -424,6 +423,10 @@ public:
|
||||
return task;
|
||||
}
|
||||
|
||||
private:
|
||||
/* Some compilers don't declare 'nullptr_t' although required by C++11. */
|
||||
using nullptr_t = std::nullptr_t;
|
||||
|
||||
public:
|
||||
/* The following functions are for overload resolution only. */
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <netdb.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
|
||||
Reference in New Issue
Block a user