Skip to content

Commit

Permalink
PR #10881: fix #10809 missing popup::operator=
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Sep 8, 2022
2 parents 5b6b818 + 6ba6797 commit 0501678
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/viewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ namespace rs2
{
struct popup
{
const std::string header;
const std::string message;
std::function<void()> custom_command;
std::string header;
std::string message;
std::function< void() > custom_command;

bool operator ==(const popup& p)
bool operator==( const popup & p ) const
{
return p.message == message;
}
Expand Down

0 comments on commit 0501678

Please sign in to comment.