Fix threshold parsing logic of CPU sensors

This commit fixes threshold parsing logic of CPU sensors to make
a sensor can be registered even in case there is no threshold
setting.

Change-Id: I95641fb37472b65e8bf70925605b41c66bdad60f
Signed-off-by: Yoo, Jae Hyun <jae.hyun.yoo@intel.com>
diff --git a/sensors/include/Thresholds.hpp b/sensors/include/Thresholds.hpp
index 90e148c..1a6f752 100644
--- a/sensors/include/Thresholds.hpp
+++ b/sensors/include/Thresholds.hpp
@@ -37,7 +37,7 @@
 
 bool ParseThresholdsFromAttr(std::vector<thresholds::Threshold> &thresholds,
                              const std::string &input_path,
-                             const double scale_factor);
+                             const double &scale_factor);
 bool HasCriticalInterface(
     const std::vector<thresholds::Threshold> &threshold_vector);