From d5477986c94e45c92c4478bdbb03a787fa0b959a Mon Sep 17 00:00:00 2001 From: Naios Date: Wed, 10 Jun 2015 03:09:07 +0200 Subject: [PATCH] some tests --- test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.cpp b/test.cpp index 0fb5dd8..7ede5e1 100644 --- a/test.cpp +++ b/test.cpp @@ -92,12 +92,13 @@ int main(int argc, char** argv) // This will never be executed because the CallbackContainer was deallocated and its weak callback proxies are crash safe. weak_cb_test(); - SharedCallback<> weak_2 = make_shared_callback([] + auto weak_2 = make_shared_callback([] { }); auto wrapped = make_weak_wrapped_callback(weak_2); + auto wrapped2 = make_weak_wrapped_callback(WeakCallback<>(weak_2)); return 0; }