Skip to content

Commit 7fd5ae7

Browse files
committed
ChangeLog update
1 parent 71201dd commit 7fd5ae7

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

ChangeLog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.157.0 (master)
1+
v0.157.0
22
--------
33

44
Changes:
@@ -13,7 +13,7 @@ Enhancements:
1313
and `into` (convert into type known to jsoncons).
1414

1515
v0.156.1
16-
--------
16+
---------
1717

1818
Bugs fixed:
1919

@@ -23,7 +23,7 @@ Bugs fixed:
2323
issue with a misnamed macro (`BOOST_HAS_FLOAT128` instead of `JSONCONS_HAS_FLOAT128`) introduced in 0.156.0.
2424

2525
v0.156.0
26-
--------
26+
---------
2727

2828
Bugs Fixed:
2929

examples/src/json_traits_name_macro_examples.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -158,25 +158,6 @@ namespace ns {
158158
}
159159
};
160160

161-
class Person
162-
{
163-
std::string name_;
164-
jsoncons::optional<std::string> socialSecurityNumber_;
165-
public:
166-
Person(const std::string& name, const jsoncons::optional<std::string>& socialSecurityNumber)
167-
: name_(name), socialSecurityNumber_(socialSecurityNumber)
168-
{
169-
}
170-
std::string getName() const
171-
{
172-
return name_;
173-
}
174-
jsoncons::optional<std::string> getSsn() const
175-
{
176-
return socialSecurityNumber_;
177-
}
178-
};
179-
180161
std::vector<uint64_t> fromEmployeesToIds(const std::vector<Employee>& employees)
181162
{
182163
static std::map<Employee, uint64_t> employee_id_map = {{Employee("John", "Smith"), 1},{Employee("Jane", "Doe"), 2}};
@@ -201,6 +182,25 @@ namespace ns {
201182
return employees;
202183
}
203184

185+
class Person
186+
{
187+
std::string name_;
188+
jsoncons::optional<std::string> socialSecurityNumber_;
189+
public:
190+
Person(const std::string& name, const jsoncons::optional<std::string>& socialSecurityNumber)
191+
: name_(name), socialSecurityNumber_(socialSecurityNumber)
192+
{
193+
}
194+
std::string getName() const
195+
{
196+
return name_;
197+
}
198+
jsoncons::optional<std::string> getSsn() const
199+
{
200+
return socialSecurityNumber_;
201+
}
202+
};
203+
204204
} // namespace ns
205205
} // namespace
206206

include/jsoncons/config/version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <iostream>
1111

1212
#define JSONCONS_VERSION_MAJOR 0
13-
#define JSONCONS_VERSION_MINOR 156
13+
#define JSONCONS_VERSION_MINOR 157
1414
#define JSONCONS_VERSION_PATCH 0
1515

1616
namespace jsoncons {

0 commit comments

Comments
 (0)