Skip to content

Commit

Permalink
Another formatting fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Oct 29, 2024
1 parent facd939 commit 1a6895c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cpp/src/slice2java/JavaUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ namespace Slice
// The functions return true if a custom type was defined and false to indicate
// the default mapping was used.
//
bool getDictionaryTypes(const DictionaryPtr&, const std::string&, const MetadataList&, std::string&, std::string&)
bool
getDictionaryTypes(const DictionaryPtr&, const std::string&, const MetadataList&, std::string&, std::string&)
const;
bool
getSequenceTypes(const SequencePtr&, const std::string&, const MetadataList&, std::string&, std::string&) const;
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/slice2py/PythonUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,7 @@ Slice::Python::MetadataVisitor::visitUnitStart(const UnitPtr& unit)
}

ostringstream msg;
msg << "ignoring invalid file metadata '" << *meta << "'"
msg << "ignoring invalid file metadata '" << *meta << "'";
dc->warning(InvalidMetadata, file, -1, msg.str());
fileMetadata.remove(meta);
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/slice2swift/SwiftUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2515,7 +2515,7 @@ SwiftGenerator::MetadataVisitor::validate(

ostringstream msg;
msg << "ignoring invalid metadata '" << *meta << "'";
dc->warning(InvalidMetadata, file, line, msg);
dc->warning(InvalidMetadata, file, line, msg.str());
newMetadata.remove(meta);
continue;
}
Expand Down

0 comments on commit 1a6895c

Please sign in to comment.