diff --git a/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h b/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h index 0ad609be7dbb4e419d1a3c79e1a6a45b56be9e0e..0b7a5fe785b85aedf23dac7502168b1e506a8d64 100644 --- a/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h +++ b/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h @@ -183,7 +183,7 @@ template class TrtPluginRegistrarV2 { public: TrtPluginRegistrarV2() { - static auto func_ptr = getPluginRegistry(); + static auto func_ptr = GetPluginRegistry(); if (func_ptr != nullptr) { func_ptr->registerCreator(creator, ""); }