Commit 2bf0c81f authored by Carla Guillen's avatar Carla Guillen
Browse files

Small compiler fix

parent 4527b4e1
......@@ -81,7 +81,7 @@ void SMUCNGPerfOperator::compute(U_Ptr unit) {
}
}
void SMUCNGPerfOperator::query(std::string & sensor_name, const uint64_t timestamp, vector<reading_t> &buffer){
void SMUCNGPerfOperator::query(const std::string & sensor_name, const uint64_t timestamp, vector<reading_t> &buffer){
_queryEngine.querySensor(sensor_name, timestamp, timestamp, buffer, false); //use absolute timestamp and always false
}
......
......@@ -54,7 +54,7 @@ protected:
const unsigned int MIN_FREQ_MHZ = 1200;
void resetBuffers();
void query(std::string & sensor_name, const uint64_t timestamp, vector<reading_t> &buffer);
void query(const std::string & sensor_name, const uint64_t timestamp, vector<reading_t> &buffer);
};
#endif /* ANALYTICS_SMUCNGPERF_SMUCNGPERFOPERATOR_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment