Commit 359ac5d6 authored by Jan Möbius's avatar Jan Möbius

Made updateType contains function const

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9101 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 68401c79
......@@ -38,7 +38,7 @@ bool UpdateType::operator==(const UpdateType& _type) const {
};
/// Check if this update contains the given UpdateType
bool UpdateType::contains( const UpdateType& _type ) {
bool UpdateType::contains( const UpdateType& _type ) const {
if ( type_ == UPDATE_ALL.type_ )
return true;
......
......@@ -22,7 +22,7 @@ class DLLEXPORT UpdateType {
bool operator<( const UpdateType& _i ) const;
/// Check if this update contains the given UpdateType
bool contains( const UpdateType& _type );
bool contains( const UpdateType& _type ) const;
protected:
UpdateTypeSet type_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment