diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-09-23 12:28:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-09-23 12:28:25 +0100 |
commit | 2b98d7be23ad50f8a564d8ed5e4eb0dc9a95f2f1 (patch) | |
tree | 6a52b65663090103b0cdf1e35efa30f49c22ca5f | |
parent | Tidy sample config (diff) | |
download | gentoobrowse-api-2b98d7be23ad50f8a564d8ed5e4eb0dc9a95f2f1.tar.bz2 gentoobrowse-api-2b98d7be23ad50f8a564d8ed5e4eb0dc9a95f2f1.tar.xz gentoobrowse-api-2b98d7be23ad50f8a564d8ed5e4eb0dc9a95f2f1.zip |
Slicer 1.6 compatibility
-rw-r--r-- | gentoobrowse-api/domain/converters.cpp | 6 | ||||
-rw-r--r-- | 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<typename T> - void + bool PqArray<T>::GetValue(ValueTargetPtr s) { s->get(packPqArray(*this->Model)); + return true; } - void + bool PqArray<std::string>::GetValue(ValueTargetPtr s) { s->get(packPqArray(*this->Model)); + return true; } template class PqArray<Ice::Int>; 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<T> *); 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 |