“1ea1bdf7faa4d0b5293e605f2e1ef1c2c59f6b53”上不存在“git@gitcode.net:openharmony/kernel_linux.git”
  • X
    Fix compilation for gcc5.4 · ab3543e3
    xuwei06 提交于
    The error is:
    
    paddle/fluid/operators/math/concat.cc:47:72: error: invalid initialization of non-const reference of type 'paddle::platform::CPUPlace&' from an rvalue of type 'paddle::platform::CPUPlace'
       auto& cpu_place = boost::get<platform::CPUPlace>(context.GetPlace());
    
    Should not use reference for cpu_place.
    ab3543e3
concat.cc 3.9 KB