A function-definition is not allowed here before '{'

前端 未结 4 891
悲&欢浪女
悲&欢浪女 2020-12-19 17:11

i am getting a REALLY annoying error. i literally looked everywhere for it! i even went back and changed all of my

if (case)
    // to-do
<
4条回答
  •  忘掉有多难
    2020-12-19 17:51

      image_buffer_ = NULL; // just set it to null if it doesn't :\
    }
    

    Placing a backslash at the end of a line splices it with the line that follows, which, effectively, comments out the closing bracket in your function.

提交回复
热议问题