Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PAPPSO
MassChroQ
Commits
2a1f9625
Commit
2a1f9625
authored
May 05, 2020
by
Langella Olivier
Browse files
bunch of warnings fixed
parent
588a5e48
Changes
11
Hide whitespace changes
Inline
Side-by-side
src/lib/alignments/alignment_obiwarp.cpp
View file @
2a1f9625
...
...
@@ -66,7 +66,7 @@ AlignmentObiwarp::privPrepareMsRunReference(const Msrun *p_msrun_ref)
}
void
AlignmentObiwarp
::
privAlignTwoMsRuns
(
const
Msrun
*
p_msrun_ref
,
AlignmentObiwarp
::
privAlignTwoMsRuns
(
const
Msrun
*
p_msrun_ref
[[
maybe_unused
]]
,
Msrun
*
p_msrun
)
const
{
qDebug
()
<<
"AlignmentObiwarp::privAlignTwoMsRuns begin"
;
...
...
src/lib/alignments/monitors/monitor_alignment_base.cpp
View file @
2a1f9625
...
...
@@ -17,17 +17,20 @@ MonitorAlignmentBase::~MonitorAlignmentBase()
}
void
MonitorAlignmentBase
::
setTimeValues
(
const
Msrun
*
pmsrun
)
MonitorAlignmentBase
::
setTimeValues
(
const
Msrun
*
pmsrun
[[
maybe_unused
]]
)
{
// Do nothing by default
}
void
MonitorAlignmentBase
::
setTraceValues
(
const
Msrun
*
pmsrun
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_mean_map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_oldRt_smoothedDelta
)
const
Msrun
*
pmsrun
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_mean_map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_oldRt_smoothedDelta
[[
maybe_unused
]])
{
// Do nothing by default
}
src/lib/alignments/monitors/monitor_alignment_plot.cpp
View file @
2a1f9625
...
...
@@ -15,17 +15,20 @@ MonitorAlignmentPlot::~MonitorAlignmentPlot()
}
void
MonitorAlignmentPlot
::
setTimeValues
(
const
Msrun
*
pmsrun
)
MonitorAlignmentPlot
::
setTimeValues
(
const
Msrun
*
pmsrun
[[
maybe_unused
]]
)
{
}
void
MonitorAlignmentPlot
::
setTraceValues
(
const
Msrun
*
pmsrun
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_mean_map_bestRt_deltaRt
,
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_oldRt_smoothedDelta
)
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
corrected_mean_map_bestRt_deltaRt
[[
maybe_unused
]],
const
std
::
map
<
mcq_double
,
mcq_double
>
*
map_oldRt_smoothedDelta
[[
maybe_unused
]])
{
_mutex
.
lock
();
qDebug
()
<<
"Add Trace Value to Monitor ALignement Plot"
;
...
...
src/lib/peak_collections/alignedpeakcollectionbase.cpp
View file @
2a1f9625
...
...
@@ -42,7 +42,7 @@ AlignedPeakCollectionBase::~AlignedPeakCollectionBase()
}
AlignedPeakCollectionBase
::
AlignedPeakCollectionBase
(
const
AlignedPeakCollectionBase
&
other
)
const
AlignedPeakCollectionBase
&
other
[[
maybe_unused
]]
)
{
}
...
...
src/lib/peak_collections/alignedpeakcollectionmap.cpp
View file @
2a1f9625
...
...
@@ -40,7 +40,9 @@ AlignedPeakCollectionMap::~AlignedPeakCollectionMap()
AlignedPeakCollectionMap
::
AlignedPeakCollectionMap
(
const
AlignedPeakCollectionMap
&
other
)
:
AlignedPeakCollectionBase
(
other
)
{
_map_post_matched_aligned_peaks
=
other
.
_map_post_matched_aligned_peaks
;
}
void
...
...
@@ -85,6 +87,7 @@ AlignedPeakCollectionMap::getMsRunAlignedPeakList(const Msrun *p_msrun)
}
void
AlignedPeakCollectionMap
::
endMsrunQuantification
(
const
Msrun
*
p_current_msrun
)
AlignedPeakCollectionMap
::
endMsrunQuantification
(
const
Msrun
*
p_current_msrun
[[
maybe_unused
]])
{
}
src/lib/peak_collections/alignedpeakcollectionmap.h
View file @
2a1f9625
...
...
@@ -29,8 +29,7 @@
* \brief handles a collection of aligned peaks per MSruns in memory
*/
#ifndef ALIGNEDPEAKCOLLECTIONMAP_H
#define ALIGNEDPEAKCOLLECTIONMAP_H
#pragma once
#include "alignedpeakcollectionbase.h"
class
AlignedPeakCollectionMap
:
public
AlignedPeakCollectionBase
...
...
@@ -55,4 +54,3 @@ class AlignedPeakCollectionMap : public AlignedPeakCollectionBase
_map_post_matched_aligned_peaks
;
};
#endif // ALIGNEDPEAKCOLLECTIONMAP_H
src/lib/peak_collections/alignedpeakcollectionondisk.cpp
View file @
2a1f9625
...
...
@@ -65,6 +65,7 @@ AlignedPeakCollectionOnDisk::AlignedPeakCollectionOnDisk(
}
AlignedPeakCollectionOnDisk
::
AlignedPeakCollectionOnDisk
(
const
AlignedPeakCollectionOnDisk
&
other
)
:
AlignedPeakCollectionBase
(
other
)
{
_peak_collection_file
.
setFileName
(
other
.
_peak_collection_file
.
fileName
());
}
...
...
src/lib/peptides/peptide_isotope.cpp
View file @
2a1f9625
...
...
@@ -43,9 +43,9 @@ PeptideIsotope::getIsotopeLabel() const
}
void
PeptideIsotope
::
observed_in
(
const
Msrun
*
p_msrun
,
const
int
scan_num
,
unsigned
int
z
)
PeptideIsotope
::
observed_in
(
const
Msrun
*
p_msrun
[[
maybe_unused
]]
,
const
int
scan_num
[[
maybe_unused
]]
,
unsigned
int
z
[[
maybe_unused
]]
)
{
throw
mcqError
(
QObject
::
tr
(
"ERROR in PeptideIsotope::observed_in :
\n
observed_in cannot "
...
...
src/lib/peptides/peptidert.cpp
View file @
2a1f9625
...
...
@@ -34,7 +34,7 @@ PeptideRt::PeptideRt()
{
}
PeptideRt
::
PeptideRt
(
const
PeptideRt
&
other
)
PeptideRt
::
PeptideRt
(
const
PeptideRt
&
other
[[
maybe_unused
]]
)
{
}
...
...
src/lib/quanti_items/quantiItemBase.cpp
View file @
2a1f9625
...
...
@@ -80,7 +80,7 @@ QuantiItemBase::writeCurrentSearchItem(MCQXmlStreamWriter *_output_stream) const
}
void
QuantiItemBase
::
writeOdsPeptideLine
(
CalcWriterInterface
&
writer
)
const
QuantiItemBase
::
writeOdsPeptideLine
(
CalcWriterInterface
&
writer
[[
maybe_unused
]]
)
const
{
}
...
...
@@ -146,9 +146,9 @@ QuantiItemBase::newCalcWriterInterface(const Quantificator *quantificator,
return
_p_writer
;
}
XicTraceBase
*
QuantiItemBase
::
newXicTrace
(
Quantificator
*
quantificator
,
Msrun
*
p_msrun
,
const
QString
&
prefix
)
const
QuantiItemBase
::
newXicTrace
(
Quantificator
*
quantificator
[[
maybe_unused
]]
,
Msrun
*
p_msrun
[[
maybe_unused
]]
,
const
QString
&
prefix
[[
maybe_unused
]]
)
const
{
return
nullptr
;
}
src/lib/xic/xic_base.cpp
View file @
2a1f9625
...
...
@@ -56,7 +56,7 @@ xicBase::getIntensities() const
void
xicBase
::
fillDataArray
(
mcq_double
*
xdata
,
mcq_double
*
ydata
,
unsigned
int
plotsize
)
const
unsigned
int
plotsize
[[
maybe_unused
]]
)
const
{
auto
it
=
begin
();
auto
itend
=
end
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment