From 2b98d7be23ad50f8a564d8ed5e4eb0dc9a95f2f1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 23 Sep 2017 12:28:25 +0100 Subject: Slicer 1.6 compatibility --- gentoobrowse-api/domain/converters.cpp | 6 ++++-- gentoobrowse-api/domain/converters.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gentoobrowse-api/domain/converters.cpp b/gentoobrowse-api/domain/converters.cpp index 293edab..073c545 100644 --- a/gentoobrowse-api/domain/converters.cpp +++ b/gentoobrowse-api/domain/converters.cpp @@ -49,16 +49,18 @@ namespace Slicer { } template - void + bool PqArray::GetValue(ValueTargetPtr s) { s->get(packPqArray(*this->Model)); + return true; } - void + bool PqArray::GetValue(ValueTargetPtr s) { s->get(packPqArray(*this->Model)); + return true; } template class PqArray; diff --git a/gentoobrowse-api/domain/converters.h b/gentoobrowse-api/domain/converters.h index f286144..8449a65 100644 --- a/gentoobrowse-api/domain/converters.h +++ b/gentoobrowse-api/domain/converters.h @@ -13,7 +13,7 @@ namespace Slicer { PqArray(std::vector *); void SetValue(ValueSourcePtr) override; - void GetValue(ValueTargetPtr) override; + bool GetValue(ValueTargetPtr) override; }; template<> @@ -22,7 +22,7 @@ namespace Slicer { PqArray(::Gentoo::StringList *); void SetValue(ValueSourcePtr) override; - void GetValue(ValueTargetPtr) override; + bool GetValue(ValueTargetPtr) override; }; DLL_PUBLIC -- cgit v1.2.3