From a92f057ed1d52f8eed341212e11a76153512a1cf Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Fri, 15 Dec 2017 16:46:27 +0800 Subject: [PATCH] fix conflict of Place --- paddle/platform/place.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/platform/place.h b/paddle/platform/place.h index 5a1ce5280..452694579 100644 --- a/paddle/platform/place.h +++ b/paddle/platform/place.h @@ -72,7 +72,7 @@ struct IsMKLDNNPlace : public boost::static_visitor { // should be less equal than 2^(NUM_PLACE_TYPE_LIMIT_IN_BIT) #define NUM_PLACE_TYPE_LIMIT_IN_BIT 4 -typedef boost::variant Place; +typedef boost::variant Place; // static check number of place types is less equal than // 2^(NUM_PLACE_TYPE_LIMIT_IN_BIT) -- GitLab