Skip to content

Commit

Permalink
drqs-175365914: 'balxml_encoderoptions': Use 'bsl::string_view' in se…
Browse files Browse the repository at this point in the history
…tters (#4756)
  • Loading branch information
sbreitstein authored and GitHub Enterprise committed May 22, 2024
1 parent 309503e commit e7668b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions groups/bal/balxml/balxml_encoderoptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ class EncoderOptions {
// returned from the invocation of 'manipulator' if 'name' identifies
// an attribute of this class, and -1 otherwise.

void setObjectNamespace(const bsl::string& value);
void setObjectNamespace(const bsl::string_view& value);
// Set the "ObjectNamespace" attribute of this object to the specified
// 'value'.

void setSchemaLocation(const bsl::string& value);
void setSchemaLocation(const bsl::string_view& value);
// Set the "SchemaLocation" attribute of this object to the specified
// 'value'.

void setTag(const bsl::string& value);
void setTag(const bsl::string_view& value);
// Set the "Tag" attribute of this object to the specified 'value'.

void setFormattingMode(int value);
Expand Down Expand Up @@ -625,19 +625,19 @@ int EncoderOptions::manipulateAttribute(
}

inline
void EncoderOptions::setObjectNamespace(const bsl::string& value)
void EncoderOptions::setObjectNamespace(const bsl::string_view& value)
{
d_objectNamespace = value;
}

inline
void EncoderOptions::setSchemaLocation(const bsl::string& value)
void EncoderOptions::setSchemaLocation(const bsl::string_view& value)
{
d_schemaLocation = value;
}

inline
void EncoderOptions::setTag(const bsl::string& value)
void EncoderOptions::setTag(const bsl::string_view& value)
{
d_tag = value;
}
Expand Down

0 comments on commit e7668b6

Please sign in to comment.