]> WPIA git - cassiopeia.git/blobdiff - src/io/record.cpp
fix: Make CppCheck happy by fixing the code
[cassiopeia.git] / src / io / record.cpp
index 8f81d02e683679fb764db59d16527e023d38f565..bd0cc1b8d1e965636575c4c122244bd5f50a076b 100644 (file)
@@ -52,7 +52,7 @@ int32_t fromHexDigit( char c ) {
     return res;
 }
 
-std::string parseCommand( RecordHeader& head, const std::string input, std::shared_ptr<std::ostream> log ) {
+std::string parseCommand( RecordHeader& head, const std::string& input, std::shared_ptr<std::ostream> log ) {
     if( log ) {
         ( *log.get() ) << "FINE: RECORD input: " << input << std::endl;
     }