diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-27 01:21:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-27 01:21:52 +0000 |
commit | 643337aa0c6e8d7cdc4e0af09d4da4d5c7ec2030 (patch) | |
tree | 6081065ec2edacfafc05a0f0367777f7c00cbc33 /libs | |
parent | 0d2ce27d4a7b3d632068c1b2d0d16629e0c32c06 (diff) |
remove older version (#ifdef'ed out) of legalize_for_path()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3193 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/utils.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index f98b24a4f2..1138684546 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -105,25 +105,6 @@ legalize_for_path (ustring str) return legal; } -#if 0 -string -legalize_for_path (string str) -{ - string::size_type pos; - string legal_chars = "abcdefghijklmnopqrtsuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_+=: "; - string legal; - - legal = str; - pos = 0; - - while ((pos = legal.find_first_not_of (legal_chars, pos)) != string::npos) { - legal.replace (pos, 1, "_"); - pos += 1; - } - - return legal; -} -#endif string bump_name_once(std::string name) { |