Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/hostext/PluginLoader.cpp @ 75:0f8524203677
* doc updates
author | cannam |
---|---|
date | Thu, 07 Jun 2007 13:56:26 +0000 |
parents | 6d16c376fd2f |
children | 6bf198e06d72 |
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginLoader.cpp Wed Jun 06 13:14:18 2007 +0000 +++ b/vamp-sdk/hostext/PluginLoader.cpp Thu Jun 07 13:56:26 2007 +0000 @@ -40,6 +40,7 @@ #include "PluginChannelAdapter.h" #include <fstream> +#include <cctype> // tolower #ifdef _WIN32 @@ -216,7 +217,7 @@ // as it came from the plugin key string temp = *fi; for (size_t i = 0; i < temp.length(); ++i) { - temp[i] = std::tolower(temp[i]); + temp[i] = tolower(temp[i]); } string::size_type pi = temp.find('.'); if (pi == string::npos) { @@ -275,7 +276,7 @@ if (li != string::npos) basename = basename.substr(0, li); for (size_t i = 0; i < basename.length(); ++i) { - basename[i] = std::tolower(basename[i]); + basename[i] = tolower(basename[i]); } return basename + ":" + identifier;