@@ -44,24 +44,24 @@ GlobalVersionUtility::GetGlobalRequestHandlerPath(PCWSTR pwzAspNetCoreFolderPath
44
44
45
45
// Throw filesystem_error if directory_iterator can't iterate over the directory
46
46
// Throw invalid_argument if any argument is null
47
- std::vector<fx_ver_asp_t >
47
+ std::vector<fx_ver_t >
48
48
GlobalVersionUtility::GetRequestHandlerVersions (PCWSTR pwzAspNetCoreFolderPath)
49
49
{
50
50
if (pwzAspNetCoreFolderPath == NULL )
51
51
{
52
52
throw new std::invalid_argument (" pwzAspNetCoreFolderPath is NULL" );
53
53
}
54
54
55
- std::vector<fx_ver_asp_t > versionsInDirectory;
55
+ std::vector<fx_ver_t > versionsInDirectory;
56
56
for (auto & p : fs::directory_iterator (pwzAspNetCoreFolderPath))
57
57
{
58
58
if (!fs::is_directory (p))
59
59
{
60
60
continue ;
61
61
}
62
62
63
- fx_ver_asp_t requested_ver (-1 , -1 , -1 );
64
- if (fx_ver_asp_t ::parse (p.path ().filename (), &requested_ver, false ))
63
+ fx_ver_t requested_ver (-1 , -1 , -1 );
64
+ if (fx_ver_t ::parse (p.path ().filename (), &requested_ver, false ))
65
65
{
66
66
versionsInDirectory.push_back (requested_ver);
67
67
}
@@ -79,7 +79,7 @@ GlobalVersionUtility::FindHighestGlobalVersion(PCWSTR pwzAspNetCoreFolderPath)
79
79
throw std::invalid_argument (" pwzAspNetCoreFolderPath is NULL" );
80
80
}
81
81
82
- std::vector<fx_ver_asp_t > versionsInDirectory = GetRequestHandlerVersions (pwzAspNetCoreFolderPath);
82
+ std::vector<fx_ver_t > versionsInDirectory = GetRequestHandlerVersions (pwzAspNetCoreFolderPath);
83
83
if (versionsInDirectory.empty ())
84
84
{
85
85
throw std::runtime_error (" Cannot find request handler next to aspnetcorev2.dll. Verify a version of the request handler is installed in a version folder." );
0 commit comments