]> git.tdb.fi Git - libs/core.git/blob - source/core/variant.cpp
Minor change to EventReader to avoid an invalid handle error on windows
[libs/core.git] / source / core / variant.cpp
1 #include <msp/debug/demangle.h>
2 #include <msp/strings/format.h>
3 #include "variant.h"
4
5 using namespace std;
6
7 namespace Msp {
8
9 type_mismatch::type_mismatch(const type_info &e, const type_info &a):
10         runtime_error(format("expected: %s\nactual: %s", Debug::demangle(e.name()), Debug::demangle(a.name())))
11 { }
12
13 }