mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
14 lines
359 B
C++
14 lines
359 B
C++
#ifndef LIBTORRENT_HELPER_PROTECTORS_H
|
|
#define LIBTORRENT_HELPER_PROTECTORS_H
|
|
|
|
#include <functional>
|
|
#include <string>
|
|
#include <cppunit/Protector.h>
|
|
|
|
class ExceptionProtector : public CppUnit::Protector {
|
|
public:
|
|
bool protect(const CppUnit::Functor &functor, const CppUnit::ProtectorContext &context) override;
|
|
};
|
|
|
|
#endif // LIBTORRENT_HELPER_PROTECTORS_H
|