mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Merge pull request #7825 from lioncash/nodisc2
common/file: Remove [[nodiscard]] from Open()
This commit is contained in:
		@@ -188,8 +188,7 @@ public:
 | 
			
		||||
 | 
			
		||||
#ifdef _WIN32
 | 
			
		||||
    template <typename Path>
 | 
			
		||||
    [[nodiscard]] void Open(const Path& path, FileAccessMode mode,
 | 
			
		||||
                            FileType type = FileType::BinaryFile,
 | 
			
		||||
    void Open(const Path& path, FileAccessMode mode, FileType type = FileType::BinaryFile,
 | 
			
		||||
              FileShareFlag flag = FileShareFlag::ShareReadOnly) {
 | 
			
		||||
        using ValueType = typename Path::value_type;
 | 
			
		||||
        if constexpr (IsChar<ValueType>) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user