1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-18 05:45:45 +02:00
bees/include/crucible/cleanup.h
Zygo Blaxell 53f8fc506a crucible: fixup cleanup header
Make the #include guard name match the file name.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2018-01-07 21:07:35 -05:00

19 lines
263 B
C++

#ifndef CRUCIBLE_CLEANUP_H
#define CRUCIBLE_CLEANUP_H
#include <functional>
namespace crucible {
using namespace std;
class Cleanup {
function<void()> m_cleaner;
public:
Cleanup(function<void()> func);
~Cleanup();
};
}
#endif // CRUCIBLE_CLEANUP_H