Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Dec 12, 2024
1 parent ad72f0d commit 12442eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions cpp/src/slice2cpp/Gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ Slice::Gen::ForwardDeclVisitor::visitConst(const ConstPtr& p)
H << ';';
if (!isConstexprType(p->type()))
{
H << " // NOLINT:cert-err58-cpp";
H << " // NOLINT:cert-err58-cpp";
}
H << sp;
}
Expand Down Expand Up @@ -2591,7 +2591,8 @@ Slice::Gen::InterfaceVisitor::visitInterfaceDefStart(const InterfaceDefPtr& p)
H << nl << "/// Obtains a Slice type ID representing the most-derived interface supported by this object.";
H << nl << "/// @param current The Current object for the invocation.";
H << nl << "/// @return A fully-scoped type ID.";
H << nl << "[[nodiscard]] ::std::string ice_id(const " << getUnqualified("::Ice::Current&", scope) << " current) const override;";
H << nl << "[[nodiscard]] ::std::string ice_id(const " << getUnqualified("::Ice::Current&", scope)
<< " current) const override;";
H << sp;
H << nl << "/// Obtains the Slice type ID corresponding to this interface.";
H << nl << "/// @return A fully-scoped type ID.";
Expand Down
6 changes: 3 additions & 3 deletions cpp/test/Ice/custom/MyByteSeq.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MyByteSeq
{
public:
using iterator = std::byte*;
using const_iterator = std::byte *;
using const_iterator = std::byte*;

using value_type = std::byte;

Expand All @@ -23,12 +23,12 @@ class MyByteSeq
~MyByteSeq();

[[nodiscard]] size_t size() const;
void swap(MyByteSeq&) noexcept ;
void swap(MyByteSeq&) noexcept;
[[nodiscard]] const_iterator begin() const;
[[nodiscard]] const_iterator end() const;

MyByteSeq& operator=(const MyByteSeq&);
MyByteSeq& operator=(MyByteSeq&&) noexcept ;
MyByteSeq& operator=(MyByteSeq&&) noexcept;

bool operator==(const MyByteSeq&) const;

Expand Down

0 comments on commit 12442eb

Please sign in to comment.