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:
		@@ -39,7 +39,6 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "include/base/cef_build.h"
 | 
			
		||||
#include "include/base/cef_macros.h"
 | 
			
		||||
#include "include/cef_base.h"
 | 
			
		||||
 | 
			
		||||
///
 | 
			
		||||
@@ -60,6 +59,9 @@ class CefScopedTempDir {
 | 
			
		||||
  ///
 | 
			
		||||
  CefScopedTempDir();
 | 
			
		||||
 | 
			
		||||
  CefScopedTempDir(const CefScopedTempDir&) = delete;
 | 
			
		||||
  CefScopedTempDir& operator=(const CefScopedTempDir&) = delete;
 | 
			
		||||
 | 
			
		||||
  ///
 | 
			
		||||
  // Recursively delete path.
 | 
			
		||||
  ///
 | 
			
		||||
@@ -111,8 +113,6 @@ class CefScopedTempDir {
 | 
			
		||||
 | 
			
		||||
 private:
 | 
			
		||||
  CefString path_;
 | 
			
		||||
 | 
			
		||||
  DISALLOW_COPY_AND_ASSIGN(CefScopedTempDir);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif  // CEF_INCLUDE_SCOPED_TEMP_DIR_H_
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user