Skip to content
Snippets Groups Projects
Commit 46eb98b9 authored by Stefan Spettel's avatar Stefan Spettel
Browse files

fix(udr): use string in patchitem

parent ddc624da
No related branches found
No related tags found
2 merge requests!29Fix UDM common models,!27Add curl timeout parameter
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
......@@ -110,10 +110,10 @@ bool PatchItem::fromIsSet() const {
void PatchItem::unsetFrom() {
m_FromIsSet = false;
}
nlohmann::json PatchItem::getValue() const {
std::string PatchItem::getValue() const {
return m_Value;
}
void PatchItem::setValue(nlohmann::json const& value) {
void PatchItem::setValue(std::string const& value) {
m_Value = value;
m_ValueIsSet = true;
}
......
......@@ -78,8 +78,8 @@ class PatchItem {
/// <summary>
///
/// </summary>
nlohmann::json getValue() const;
void setValue(nlohmann::json const& value);
std::string getValue() const;
void setValue(std::string const& value);
bool valueIsSet() const;
void unsetValue();
......@@ -93,7 +93,7 @@ class PatchItem {
std::string m_From;
bool m_FromIsSet;
nlohmann::json m_Value;
std::string m_Value;
bool m_ValueIsSet;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment