summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/domain/converters.cpp6
-rw-r--r--gentoobrowse-api/domain/converters.h4
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