remove superflous blank padding
This commit is contained in:
parent
88af9c545b
commit
cef01f5dbc
@ -132,21 +132,21 @@ static inline void convertInternalLatLonToString(const int value, std::string &
|
|||||||
|
|
||||||
static inline void convertInternalCoordinateToString(const FixedPointCoordinate & coord, std::string & output) {
|
static inline void convertInternalCoordinateToString(const FixedPointCoordinate & coord, std::string & output) {
|
||||||
std::string tmp;
|
std::string tmp;
|
||||||
|
tmp.reserve(23);
|
||||||
convertInternalLatLonToString(coord.lon, tmp);
|
convertInternalLatLonToString(coord.lon, tmp);
|
||||||
output = tmp;
|
output = tmp;
|
||||||
output += ",";
|
output += ",";
|
||||||
convertInternalLatLonToString(coord.lat, tmp);
|
convertInternalLatLonToString(coord.lat, tmp);
|
||||||
output += tmp;
|
output += tmp;
|
||||||
output += " ";
|
|
||||||
}
|
}
|
||||||
static inline void convertInternalReversedCoordinateToString(const FixedPointCoordinate & coord, std::string & output) {
|
static inline void convertInternalReversedCoordinateToString(const FixedPointCoordinate & coord, std::string & output) {
|
||||||
std::string tmp;
|
std::string tmp;
|
||||||
|
tmp.reserve(23);
|
||||||
convertInternalLatLonToString(coord.lat, tmp);
|
convertInternalLatLonToString(coord.lat, tmp);
|
||||||
output = tmp;
|
output = tmp;
|
||||||
output += ",";
|
output += ",";
|
||||||
convertInternalLatLonToString(coord.lon, tmp);
|
convertInternalLatLonToString(coord.lon, tmp);
|
||||||
output += tmp;
|
output += tmp;
|
||||||
output += " ";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user