mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Make the #include syntax more consistent (even if it has no effect). Signed-off-by: Zygo Blaxell <bees@furryterror.org>
18 lines
190 B
C++
18 lines
190 B
C++
#include "crucible/cleanup.h"
|
|
|
|
namespace crucible {
|
|
|
|
Cleanup::Cleanup(function<void()> func) :
|
|
m_cleaner(func)
|
|
{
|
|
}
|
|
|
|
Cleanup::~Cleanup()
|
|
{
|
|
if (m_cleaner) {
|
|
m_cleaner();
|
|
}
|
|
}
|
|
|
|
}
|