Deep-Symmetry / carabiner

A loose connector for interacting with Ableton Link
GNU General Public License v2.0
157 stars 14 forks source link

fix a memory issue, preventing Carabiner to work on Linux64 #3

Closed Ant1r closed 6 years ago

Ant1r commented 6 years ago

c_str() method was called on a temporary std::string (the addition of 2 strings), so "port" was no more valid after the call.

brunchboy commented 6 years ago

Thank you, it is wonderful having someone who is actually familiar with modern C++ taking a look at this stuff. When I last used the language, it was a bunch of rickety pre-processors that output cryptic munged C source to be fed to the regular AT&T C compiler.

Ant1r commented 6 years ago

My pleasure! But, hey, I'm just a pretty stubborn debugger, I wouldn't say I'm "actually familiar with modern C++", Link implementation for instance is totally opaque for me...