diff --git a/paddle/optimizer/sgd_optimizer.h b/paddle/optimizer/sgd_optimizer.h index 1bb97349c7cdcf7a7604d9f10a9aa3eb91f47971..10b46db38686a25b5e5742ddd0b1642510d89b29 100644 --- a/paddle/optimizer/sgd_optimizer.h +++ b/paddle/optimizer/sgd_optimizer.h @@ -1,5 +1,4 @@ -#ifndef PADDLE_SGD_OPTIMIZER_H_ -#define PADDLE_SGD_OPTIMIZER_H_ +#pragma once #include "parameter_optimizer.h" @@ -31,5 +30,3 @@ private: } // namespace optimizer } // namespace paddle - -#endif