mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Added destructor to release current item.
This commit is contained in:
parent
0bd7da7aae
commit
ada67f1beb
@ -717,6 +717,14 @@ namespace etl
|
||||
{
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
/// Destructor.
|
||||
//***************************************************************************
|
||||
~variant()
|
||||
{
|
||||
destruct_current();
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
/// Assignment operator for T1 type.
|
||||
///\param value The value to assign.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user