diff options
-rw-r--r-- | gentoobrowse-api/domain/converters.cpp | 8 | ||||
-rw-r--r-- | gentoobrowse-api/domain/converters.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gentoobrowse-api/domain/converters.cpp b/gentoobrowse-api/domain/converters.cpp index b4748cd..8a3abbd 100644 --- a/gentoobrowse-api/domain/converters.cpp +++ b/gentoobrowse-api/domain/converters.cpp @@ -14,18 +14,18 @@ namespace Slicer { } template<typename T> - void PqArray<T>::SetValue(ValueSourcePtr s) + void PqArray<T>::SetValue(ValueSource && s) { std::string in; - s->set(in); + s.set(in); *this->Model = unpackPqArray<T>(in); } template<typename T> bool - PqArray<T>::GetValue(ValueTargetPtr s) + PqArray<T>::GetValue(ValueTarget && s) { - s->get(packPqArray(*this->Model)); + s.get(packPqArray(*this->Model)); return true; } diff --git a/gentoobrowse-api/domain/converters.h b/gentoobrowse-api/domain/converters.h index 404b9a1..be1a522 100644 --- a/gentoobrowse-api/domain/converters.h +++ b/gentoobrowse-api/domain/converters.h @@ -12,8 +12,8 @@ namespace Slicer { public: PqArray(std::vector<T> *); - void SetValue(ValueSourcePtr) override; - bool GetValue(ValueTargetPtr) override; + void SetValue(ValueSource &&) override; + bool GetValue(ValueTarget &&) override; }; DLL_PUBLIC |