util/StringPointer: rename typedef pointer to pointer_type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user