mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Remove DISALLOW_ macro from libcef_dll/ (see issue #3234)
Also perform related C++ cleanup:
- Use =default instead of {} for default implementations of
  constructors/destructors.
- Replace typedef with using.
			
			
This commit is contained in:
		@@ -14,20 +14,20 @@
 | 
			
		||||
#include "include/internal/cef_string_multimap.h"
 | 
			
		||||
 | 
			
		||||
// Copy contents from one list type to another.
 | 
			
		||||
typedef std::vector<CefString> StringList;
 | 
			
		||||
using StringList = std::vector<CefString>;
 | 
			
		||||
void transfer_string_list_contents(cef_string_list_t fromList,
 | 
			
		||||
                                   StringList& toList);
 | 
			
		||||
void transfer_string_list_contents(const StringList& fromList,
 | 
			
		||||
                                   cef_string_list_t toList);
 | 
			
		||||
 | 
			
		||||
// Copy contents from one map type to another.
 | 
			
		||||
typedef std::map<CefString, CefString> StringMap;
 | 
			
		||||
using StringMap = std::map<CefString, CefString>;
 | 
			
		||||
void transfer_string_map_contents(cef_string_map_t fromMap, StringMap& toMap);
 | 
			
		||||
void transfer_string_map_contents(const StringMap& fromMap,
 | 
			
		||||
                                  cef_string_map_t toMap);
 | 
			
		||||
 | 
			
		||||
// Copy contents from one map type to another.
 | 
			
		||||
typedef std::multimap<CefString, CefString> StringMultimap;
 | 
			
		||||
using StringMultimap = std::multimap<CefString, CefString>;
 | 
			
		||||
void transfer_string_multimap_contents(cef_string_multimap_t fromMap,
 | 
			
		||||
                                       StringMultimap& toMap);
 | 
			
		||||
void transfer_string_multimap_contents(const StringMultimap& fromMap,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user