Why my lambda doesn't modify member variable

前端 未结 0 1502
清歌不尽
清歌不尽 2020-12-02 02:40

I have a problem with my UI system. I narrowed down the problem to this piece of code:

clickable->addMouseEnterListener([this]() {
        std::cout <&l         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题