[Solved] Why does this simple C++ code segfault? [closed]


Turn on your warnings. You’re missing a return statement here:

const std::string get() const { l.get(); }

13

solved Why does this simple C++ code segfault? [closed]