From f2961701faf11b01d3e3b215ee592c779257db0d Mon Sep 17 00:00:00 2001 From: liuruilong Date: Thu, 24 May 2018 14:45:35 +0800 Subject: [PATCH] format files --- src/common/enforce.h | 4 ++-- src/framework/program/program-optimize/program_optimize.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/enforce.h b/src/common/enforce.h index b68990074b..abd6217fbe 100644 --- a/src/common/enforce.h +++ b/src/common/enforce.h @@ -51,14 +51,14 @@ struct PaddleMobileException : public std::exception { __FILE__, __LINE__); \ } -#define PADDLE_MOBILE_ENFORCE(stat, ...) \ +#define PADDLE_MOBILE_ENFORCE(stat, ...) \ { \ if (stat) { \ } else { \ char buffer[1000]; \ snprintf(buffer, sizeof(buffer), __VA_ARGS__); \ std::string detail(buffer); \ - throw paddle_mobile::PaddleMobileException("paddle-mobile enforce", \ + throw paddle_mobile::PaddleMobileException("paddle-mobile enforce", \ buffer, __FILE__, __LINE__); \ } \ } diff --git a/src/framework/program/program-optimize/program_optimize.h b/src/framework/program/program-optimize/program_optimize.h index 1fa9f63cea..9dc4b19eba 100644 --- a/src/framework/program/program-optimize/program_optimize.h +++ b/src/framework/program/program-optimize/program_optimize.h @@ -18,8 +18,8 @@ limitations under the License. */ #include #include "framework/operator.h" -#include "framework/program/program_desc.h" #include "framework/program/program-optimize/node.h" +#include "framework/program/program_desc.h" namespace paddle_mobile { -- GitLab