Skip to content

Commit b5858b4

Browse files
committed
Fixed 'unused variable options' warning
1 parent 5e36f95 commit b5858b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utility/base64.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ namespace JSON
118118
void resize (size_type n) { binary_.resize(n); }
119119
void resize (size_type n, const value_type& val) { binary_.resize(n, val); }
120120

121-
std::ostream& stringify(std::ostream& stream, StringificationOptions const& options = DEFAULT_OPTIONS) const
121+
std::ostream& stringify(std::ostream& stream, StringificationOptions const& = DEFAULT_OPTIONS) const
122122
{
123123
stream << "\"";
124124
encodeBase64(stream, binary_);
125125
stream << "\"";
126126
return stream;
127127
}
128128

129-
void parse(std::string const& name, PropertyTree const& tree, ParsingOptions const& options = DEFAULT_PARSER_OPTIONS)
129+
void parse(std::string const& name, PropertyTree const& tree, ParsingOptions const& = DEFAULT_PARSER_OPTIONS)
130130
{
131131
std::string str = tree.tree.get<std::string>(name);
132132
decodeBase64(str, binary_);

0 commit comments

Comments
 (0)