Skip to content

Commit 085d4ce

Browse files
author
Charles PIGNEROL
committed
Version 7.10.3. Bug fix in MaliPPWriter2 destructor in debug mode.
1 parent 299ecfb commit 085d4ce

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

cmake/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set (LIMA_MAJOR_VERSION "7")
66
set (LIMA_MINOR_VERSION "10")
7-
set (LIMA_RELEASE_VERSION "2")
7+
set (LIMA_RELEASE_VERSION "3")
88
set (LIMA_VERSION ${LIMA_MAJOR_VERSION}.${LIMA_MINOR_VERSION}.${LIMA_RELEASE_VERSION})
99

1010

installation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_
2020
-DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_XLMLIMA=ON -DBUILD_TESTS:BOOL=ON -DBUILD_SCRIPTING:BOOL=ON -DMACHINE_TYPES:BOOL=OFF -DSUMESH:BOOL=OFF -DFORMAT_MLI:BOOL=OFF -DFORMAT_MLI2:BOOL=ON -DFORMAT_MLI2:BOOL=ON \
2121
-DBUILD_SHARED_LIBS:BOOL=ON -DINT_8:BOOL=ON -DREAL_8:BOOL=ON \
2222
-DSWIG_EXECUTABLE=/opt/swig/4.1.1/bin/swig -DPython2_ROOT_DIR=/usr/lib/python2.7 -DHDF5_ROOT=/opt/HDF5/1.12.0 \
23-
-B /tmp/lima_build_dir -DCMAKE_INSTALL_PREFIX=/opt/Lima/7.10.2
23+
-B /tmp/lima_build_dir -DCMAKE_INSTALL_PREFIX=/opt/Lima/7.10.3
2424
cmake --build /tmp/lima_build_dir
2525
cmake --install /tmp/lima_build_dir
2626

@@ -30,7 +30,7 @@ cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_
3030
-DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_XLMLIMA=ON -DBUILD_TESTS:BOOL=ON -DBUILD_SCRIPTING:BOOL=ON -DMACHINE_TYPES:BOOL=ON -DSUMESH:BOOL=ON -DFORMAT_MLI:BOOL=ON -DFORMAT_MLI2:BOOL=ON \
3131
-DBUILD_SHARED_LIBS:BOOL=ON -DINT_8:BOOL=ON -DREAL_8:BOOL=ON \
3232
-DSWIG_EXECUTABLE=/opt/swig/4.1.1/bin/swig -DPython2_ROOT_DIR=/usr/lib/python2.7 -DHDF5_ROOT=/opt/HDF5/1.12.0 -DHDF145_INCLUDE_DIR=/opt/hdf145/1.3.0/include -DHDF145CPP_LIBRARY=/opt/hdf145/1.3.0/lib/libhdf145_cpp.so -DHDF145_LIBRARY=/opt/hdf145/1.3.0/lib/libhdf145.so \
33-
-B /tmp/lima_build_dir -DCMAKE_INSTALL_PREFIX=/opt/Lima/7.10.2
33+
-B /tmp/lima_build_dir -DCMAKE_INSTALL_PREFIX=/opt/Lima/7.10.3
3434
cmake --build /tmp/lima_build_dir
3535
cmake --install /tmp/lima_build_dir
3636

src/Lima/malipp2.cpp

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3679,7 +3679,6 @@ MaliPPWriter2& MaliPPWriter2::operator = (const MaliPPWriter2&)
36793679

36803680
MaliPPWriter2::~MaliPPWriter2 ( )
36813681
{
3682-
assert (0 && "MaliPPWriter2::~MaliPPWriter2 is not allowed.");
36833682
} // MaliPPWriter2::~MaliPPWriter2
36843683

36853684

@@ -3694,22 +3693,18 @@ HDFAttributeDescriptor2Type::HDFAttributeDescriptor2Type ( )
36943693
StrType type (PredType::C_S1);
36953694
type.setSize (MLI2_ATTRIBUT_SIZE);
36963695
insertMember (m_name, HOFFSET (HDFAttributeDescriptor2, m_name), type);
3697-
insertMember (m_type, HOFFSET (HDFAttributeDescriptor2, m_type),
3698-
PredType::NATIVE_INT16);
3699-
insertMember (m_size, HOFFSET (HDFAttributeDescriptor2, m_size),
3700-
PredType::NATIVE_UINT32);
3696+
insertMember (m_type, HOFFSET (HDFAttributeDescriptor2, m_type), PredType::NATIVE_INT16);
3697+
insertMember (m_size, HOFFSET (HDFAttributeDescriptor2, m_size), PredType::NATIVE_UINT32);
37013698
} // HDFAttributeDescriptor2Type::HDFAttributeDescriptor2Type
37023699

37033700

3704-
HDFAttributeDescriptor2Type::HDFAttributeDescriptor2Type (
3705-
const HDFAttributeDescriptor2Type& at)
3701+
HDFAttributeDescriptor2Type::HDFAttributeDescriptor2Type (const HDFAttributeDescriptor2Type& at)
37063702
: CompType (at)
37073703
{
37083704
} // HDFAttributeDescriptor2Type copy constructor
37093705

37103706

3711-
HDFAttributeDescriptor2Type& HDFAttributeDescriptor2Type::operator = (
3712-
const HDFAttributeDescriptor2Type&)
3707+
HDFAttributeDescriptor2Type& HDFAttributeDescriptor2Type::operator = (const HDFAttributeDescriptor2Type&)
37133708
{
37143709
return *this;
37153710
} // HDFAttributeDescriptor2Type::operator =

0 commit comments

Comments
 (0)