mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: TableBase: illegal reference. Fixes #1753
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -95,8 +95,8 @@ Foam::Function1Types::TableBase<Type>::TableBase(const TableBase<Type>& tbl)
|
|||||||
bounding_(tbl.bounding_),
|
bounding_(tbl.bounding_),
|
||||||
interpolationScheme_(tbl.interpolationScheme_),
|
interpolationScheme_(tbl.interpolationScheme_),
|
||||||
table_(tbl.table_),
|
table_(tbl.table_),
|
||||||
tableSamplesPtr_(tbl.tableSamplesPtr_.clone()),
|
tableSamplesPtr_(nullptr),
|
||||||
interpolatorPtr_(tbl.interpolatorPtr_) // steal/reuse (missing clone!)
|
interpolatorPtr_(nullptr)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user