From c497eabb6d9de46749b781551ab18a70a0e5e528 Mon Sep 17 00:00:00 2001 From: Matthieu Dorier Date: Fri, 29 Sep 2023 12:38:21 +0100 Subject: [PATCH] increased version number --- examples/06_custom/client.cpp | 2 +- examples/06_custom/point.hpp | 2 ++ src/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/06_custom/client.cpp b/examples/06_custom/client.cpp index af45de6..ad155cd 100644 --- a/examples/06_custom/client.cpp +++ b/examples/06_custom/client.cpp @@ -14,7 +14,7 @@ int main(int argc, char** argv) { tl::endpoint server = myEngine.lookup(argv[1]); point p(1,2,3); point q(5,2,4); - double ret = dot_product.on(server)(p,q); + double ret = dot_product.on(server).async(p,q).wait(); std::cout << "Dot product : " << ret << std::endl; return 0; diff --git a/examples/06_custom/point.hpp b/examples/06_custom/point.hpp index d5d6b9a..529dcb4 100644 --- a/examples/06_custom/point.hpp +++ b/examples/06_custom/point.hpp @@ -11,6 +11,8 @@ class point { point(double a=0.0, double b=0.0, double c=0.0) : x(a), y(b), z(c) {} + point(const point&) = delete; + template friend void serialize(A& ar, point& p); double operator*(const point& p) const { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 545f9fe..8d54112 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,7 @@ set (thallium-pkg "share/cmake/thallium") # set (THALLIUM_VERSION_MAJOR 0) set (THALLIUM_VERSION_MINOR 11) -set (THALLIUM_VERSION_PATCH 2) +set (THALLIUM_VERSION_PATCH 3) set (thallium-vers "${THALLIUM_VERSION_MAJOR}.${THALLIUM_VERSION_MINOR}") set (THALLIUM_VERSION "${thallium-vers}.${THALLIUM_VERSION_PATCH}")