diff options
author | David Robillard <d@drobilla.net> | 2010-02-04 18:18:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-04 18:18:48 +0000 |
commit | 443088e0e670c1d169cee76e70b053cb7a7dd102 (patch) | |
tree | 80ec3b452dd54ee285706cbf12c54d3386158a3d /src | |
parent | e8bbf1da750a2951a7a16c3a7a48affdb50f7157 (diff) | |
download | patchage-443088e0e670c1d169cee76e70b053cb7a7dd102.tar.gz patchage-443088e0e670c1d169cee76e70b053cb7a7dd102.tar.bz2 patchage-443088e0e670c1d169cee76e70b053cb7a7dd102.zip |
Use std::string.clear().
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2422 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/JackDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index bb424ff..6b201d4 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -366,8 +366,8 @@ JackDriver::port_names(const PortID& id, jack_port = jack_port_by_id(_client, id.id.jack_id); if (!jack_port) { - module_name = ""; - port_name = ""; + module_name.clear(); + port_name.clear(); return false; } |