Skip to content

Commit

Permalink
Remove wxUSE_STL
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden authored and mtangoo committed May 2, 2023
1 parent f293b55 commit d5ba36c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/wxSimpleJSON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ wxArrayString wxSimpleJSON::GetValueArrayString(const wxMBConv &conv) const
return arr;
}

#ifdef wxUSE_STL
std::vector<wxString> wxSimpleJSON::GetValueStringVector(const wxMBConv& conv) const
{
if (!m_d || (m_d->type != cJSON_Array)) {
Expand Down Expand Up @@ -177,7 +176,6 @@ std::vector<wxSimpleJSON::Ptr_t> wxSimpleJSON::GetValueArrayObject() const
}
return arr;
}
#endif

double wxSimpleJSON::GetValueNumber(double defaultValue) const
{
Expand All @@ -187,7 +185,6 @@ double wxSimpleJSON::GetValueNumber(double defaultValue) const
return m_d->valuedouble;
}

#ifdef wxUSE_STL
std::vector<double> wxSimpleJSON::GetValueArrayNumber(double defaultValue) const
{
if (!m_d || (m_d->type != cJSON_Array)) {
Expand All @@ -201,7 +198,6 @@ std::vector<double> wxSimpleJSON::GetValueArrayNumber(double defaultValue) const
}
return arr;
}
#endif

wxSimpleJSON::Ptr_t wxSimpleJSON::GetProperty(const wxString &name) const
{
Expand Down Expand Up @@ -246,7 +242,6 @@ bool wxSimpleJSON::GetValueBool(bool defaultValue) const
return m_d->type == cJSON_True;
}

#ifdef wxUSE_STL
std::vector<bool> wxSimpleJSON::GetValueArrayBool(bool defaultValue) const
{
if (!m_d || (m_d->type != cJSON_Array)) {
Expand All @@ -260,7 +255,6 @@ std::vector<bool> wxSimpleJSON::GetValueArrayBool(bool defaultValue) const
}
return arr;
}
#endif

wxSimpleJSON::Ptr_t wxSimpleJSON::Create(const wxString &buffer, bool isRoot, const wxMBConv &conv)
{
Expand Down

0 comments on commit d5ba36c

Please # to comment.