Skip to content

Commit d1b9611

Browse files
committed
COMP: Fix unused-function warning in qMRMLPlotSeriesPropertiesWidget.cxx
This commit fixes the following warnings: /path/to/Slicer/Modules/Loadable/Plots/Widgets/qMRMLPlotSeriesPropertiesWidget.cxx:57:13: warning: ‘std::__cxx11::string {anonymous}::DoubleToString(double)’ defined but not used [-Wunused-function] std::string DoubleToString(double Value) ^ git-svn-id: http://svn.slicer.org/Slicer4/trunk@26942 3bd1e089-480b-0410-8dfb-8563597acbee
1 parent 089a99f commit d1b9611

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Modules/Loadable/Plots/Widgets/qMRMLPlotSeriesPropertiesWidget.cxx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,6 @@
4141
// stream includes
4242
#include <sstream>
4343

44-
namespace
45-
{
46-
//----------------------------------------------------------------------------
47-
template <typename T> std::string NumberToString(T V)
48-
{
49-
std::string stringValue;
50-
std::stringstream strstream;
51-
strstream << V;
52-
strstream >> stringValue;
53-
return stringValue;
54-
}
55-
56-
//----------------------------------------------------------------------------
57-
std::string DoubleToString(double Value)
58-
{
59-
return NumberToString<double>(Value);
60-
}
61-
62-
}// end namespace
63-
6444
//--------------------------------------------------------------------------
6545
// qMRMLPlotSeriesPropertiesWidgetPrivate methods
6646

0 commit comments

Comments
 (0)