• 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