Skip to content

Commit

Permalink
Remove unused LockedObject class
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Moulard committed Dec 2, 2018
1 parent bdda8ce commit 4b3a749
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions rmw_opensplice_cpp/src/topic_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,20 +207,4 @@ inline std::ostream & operator<<(
return ostream;
}

template<class T>
class LockedObject : public T
{
private:
mutable std::mutex cache_mutex_;

public:
/**
* @return a reference to this object to lock.
*/
std::mutex & getMutex() const
{
return cache_mutex_;
}
};

#endif // TOPIC_CACHE_HPP_

0 comments on commit 4b3a749

Please sign in to comment.