提交 eca45928 编写于 作者: Y Yu Yang

Fix merge errors.

上级 eefe5a7c
...@@ -870,7 +870,7 @@ struct EvaluatorPrivate; ...@@ -870,7 +870,7 @@ struct EvaluatorPrivate;
class Evaluator { class Evaluator {
private: private:
Evaluator(); Evaluator();
DISABLE_COPY_AND_ASSIGN(Evaluator); DISABLE_COPY(Evaluator);
public: public:
~Evaluator(); ~Evaluator();
......
...@@ -14,8 +14,6 @@ limitations under the License. */ ...@@ -14,8 +14,6 @@ limitations under the License. */
#pragma once #pragma once
namespace paddle {
/** /**
* Disable copy macro. * Disable copy macro.
*/ */
...@@ -24,6 +22,8 @@ namespace paddle { ...@@ -24,6 +22,8 @@ namespace paddle {
class_name(const class_name &other) = delete; \ class_name(const class_name &other) = delete; \
class_name &operator=(const class_name &other) = delete class_name &operator=(const class_name &other) = delete
namespace paddle {
#ifdef PADDLE_TYPE_DOUBLE #ifdef PADDLE_TYPE_DOUBLE
using real = double; using real = double;
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册