mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove virtual attribute from CefStringBase destructor (fixes #3587)
This commit is contained in:
committed by
Marshall Greenblatt
parent
53ef570f57
commit
1886f68490
@ -353,7 +353,7 @@ struct CefStringTraitsUTF16 {
|
|||||||
/// modifying CEF strings from multiple threads.
|
/// modifying CEF strings from multiple threads.
|
||||||
///
|
///
|
||||||
template <class traits>
|
template <class traits>
|
||||||
class CefStringBase {
|
class CefStringBase final {
|
||||||
public:
|
public:
|
||||||
typedef typename traits::char_type char_type;
|
typedef typename traits::char_type char_type;
|
||||||
typedef typename traits::struct_type struct_type;
|
typedef typename traits::struct_type struct_type;
|
||||||
@ -442,7 +442,7 @@ class CefStringBase {
|
|||||||
Attach(const_cast<struct_type*>(src), false);
|
Attach(const_cast<struct_type*>(src), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~CefStringBase() { ClearAndFree(); }
|
~CefStringBase() { ClearAndFree(); }
|
||||||
|
|
||||||
/// The following methods are named for compatibility with the standard
|
/// The following methods are named for compatibility with the standard
|
||||||
/// library string template types.
|
/// library string template types.
|
||||||
|
Reference in New Issue
Block a user