From bae92cea3bcbacd7883499da61a0e54f13da6d23 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 26 Nov 2018 20:47:47 +0100 Subject: wanda: architecture rework --- src/variant.cpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/variant.cpp (limited to 'src/variant.cpp') diff --git a/src/variant.cpp b/src/variant.cpp deleted file mode 100644 index 54e484e..0000000 --- a/src/variant.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "variant.hpp" - -namespace wanda { - -variant::variant(GVariant * value) : m_value{value} { } - -variant::~variant() { - if(m_value) { - g_variant_unref(m_value); - } -} - -bool variant::is_of_type(GVariantType const * const type) const { - return g_variant_is_of_type(m_value, type); -} - -} \ No newline at end of file -- cgit v1.2.3