util/StringPointer: rename typedef pointer to pointer_type

This commit is contained in:
Max Kellermann
2016-04-12 22:49:03 +02:00
parent fd5d42836f
commit 9b85446808
17 changed files with 116 additions and 111 deletions

View File

@@ -37,10 +37,10 @@ class DirectoryReader {
bool first = true;
class MakeWildcardPath {
PathTraitsFS::pointer path;
PathTraitsFS::pointer_type path;
public:
MakeWildcardPath(PathTraitsFS::const_pointer _path) {
MakeWildcardPath(PathTraitsFS::const_pointer_type _path) {
auto l = _tcslen(_path);
path = new PathTraitsFS::value_type[l + 3];
_tcscpy(path, _path);
@@ -53,7 +53,7 @@ class DirectoryReader {
delete[] path;
}
operator PathTraitsFS::const_pointer() const {
operator PathTraitsFS::const_pointer_type() const {
return path;
}
};