Skip to content

Commit

Permalink
[fix] g++ 5 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nan-Orbbec3d-US committed Jun 8, 2019
1 parent 642cfa2 commit 44af9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/astra_camera/astra_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class AstraException : public std::exception
unsigned line_number,
const std::string& message);

virtual ~AstraException();
virtual ~AstraException() throw();
AstraException & operator=(const AstraException& exception);
virtual const char* what() const throw();

Expand Down
2 changes: 1 addition & 1 deletion src/astra_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ AstraException::AstraException (const std::string& function_name, const std::str
message_long_ = sstream.str();
}

AstraException::~AstraException ()
AstraException::~AstraException () throw()
{
}

Expand Down

0 comments on commit 44af9b2

Please sign in to comment.