mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-15 06:17:12 +02:00
strcpy and cleanup of configuremac
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include "container_utils.h"
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <algorithm>
|
||||
namespace sls{
|
||||
|
||||
|
||||
@ -26,7 +27,7 @@ std::string concatenateNonEmptyStrings(const std::vector<std::string>& vec){
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::string concatenateIfDifferent(std::vector<std::string> container)
|
||||
std::string concatenateIfDifferent(const std::vector<std::string>& container)
|
||||
{
|
||||
if (allEqual(container)) {
|
||||
return container.front();
|
||||
@ -51,4 +52,5 @@ std::string stringIpToHex(const std::string& ip)
|
||||
}
|
||||
|
||||
|
||||
|
||||
}; // namespace sls
|
Reference in New Issue
Block a user