mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
fix syntax in osm2meta.cpp
Signed-off-by: Wojciech Sipak <wsipak@protonmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ bool Prefix2Double(std::string const & str, double & d)
|
||||
void MetadataTagProcessorImpl::AggregateChargeSocket(std::string const & k, std::string const & v)
|
||||
{
|
||||
auto keys = strings::Tokenize(k, ":");
|
||||
ASSERT(keys[0] == "socket", ()) // key must start with "socket:"
|
||||
ASSERT(keys[0] == "socket", ()); // key must start with "socket:"
|
||||
if (keys.size() < 2 || keys.size() > 3)
|
||||
{
|
||||
LOG(LWARNING, ("Invalid socket key:", k));
|
||||
@@ -139,7 +139,7 @@ void MetadataTagProcessorImpl::AggregateChargeSocket(std::string const & k, std:
|
||||
it = std::prev(m_chargeSockets.end());
|
||||
}
|
||||
|
||||
ASSERT(v.size() > 0, "empty value for socket key!");
|
||||
ASSERT(v.size() > 0, ("empty value for socket key!"));
|
||||
|
||||
if (!isOutput)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user