Skip to content

Commit

Permalink
cxx20: fix compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Jan 16, 2022
1 parent 84b1bf3 commit 7e3a34a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resip/dum/ClientInviteSession.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ClientInviteSession : public InviteSession

/** Makes the specific dialog end. Will send a BYE (not a CANCEL) */
void end(const Data& userReason) override;
void end(const ParserContainer<Token>& endReasons);
void end(const ParserContainer<Token>& endReasons) override;
void end(EndReason reason) override;
void end() override;

Expand Down
2 changes: 1 addition & 1 deletion resip/dum/MasterProfile.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MasterProfile : public UserProfile

/// Default is none. Do not use to enable PRACK(100rel) support.
virtual void addSupportedOptionTag(const Token& tag);
virtual Tokens getUnsupportedOptionsTags(const Tokens& requires); // Returns list of unsupported option tags
virtual Tokens getUnsupportedOptionsTags(const Tokens& requiresOptionTags); // Returns list of unsupported option tags
virtual Tokens getSupportedOptionTags() const;
virtual void clearSupportedOptionTags() noexcept;

Expand Down
2 changes: 1 addition & 1 deletion resip/stack/DialogInfoContents.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public:
};

Dialog() : mDirection(MaxOrUnsetDirection), mState(Trying), mStateEvent(MaxOrUnsetDialogStateEvent), mStateCode(0), mDuration(0),
mHasDuration(false), mHasAppearance(false), mAppearance(0), mExclusive(false), mHasExclusive(false) {}
mHasDuration(false), mAppearance(0), mHasAppearance(false), mExclusive(false), mHasExclusive(false) {}

// Accesors for data
void setId(const Data& id) { mId = id; }
Expand Down
2 changes: 1 addition & 1 deletion rutil/StlPoolAllocator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class StlPoolAllocator
return &ref;
}

pointer allocate(size_type n, std::allocator<void>::const_pointer hint=0)
pointer allocate(size_type n, const void* hint=0)
{
return (pointer)(allocate_raw(n*sizeof(T)));
}
Expand Down

0 comments on commit 7e3a34a

Please sign in to comment.