Implemented C++23 deleted nullptr_t constructor/assignment for AZStd string classes (#4158)
* Added string and string_view class constructor overloads which is deleted that prevents initializing them from a nullptr or an integer type Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com> * Fixed locations where string and string_view were initialized with nullptr Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com> * Fix IArchive::IsInstalledToHDD signature Updated calls to ConvertAbsolutePathToAliasedPath to use an list initialization instead of nullptr Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f1f35a0ba8
commit
58c227ceb1
@@ -59,7 +59,7 @@ namespace SaveData
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//! The absolute path to the application's save data dircetory.
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute = nullptr;
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace SaveData
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//! The absolute path to the application's save data dircetory.
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute = nullptr;
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace SaveData
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//! The absolute path to the application's save data dircetory.
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute = nullptr;
|
||||
AZStd::string m_saveDataDircetoryPathAbsolute;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user