Skip to content

Commit a203e06

Browse files
authored
Fix warnings
1 parent 7fcc8a6 commit a203e06

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

CHANGES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# common-cpp Changes
22

3+
## Upcoming
4+
35
## v1.0.0
4-
Initial Release.
6+
Initial Release.

m3c/include/m3c/types_fmt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct base_formatter {
7777
/// @brief Parse the format string.
7878
/// @param ctx see `fmt::formatter::parse`.
7979
/// @return see `fmt::formatter::parse`.
80-
fmt::format_parse_context::iterator parse(fmt::format_parse_context& ctx) noexcept;
80+
fmt::format_parse_context::iterator parse(fmt::format_parse_context& ctx);
8181

8282
protected:
8383
const std::string& GetFormat() const noexcept {

m3c/src/types_fmt.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ limitations under the License.
4747

4848
namespace m3c::internal {
4949

50-
fmt::format_parse_context::iterator base_formatter::parse(fmt::format_parse_context& ctx) noexcept { // NOLINT(readability-convert-member-functions-to-static): Specialization of fmt::formatter.
50+
fmt::format_parse_context::iterator base_formatter::parse(fmt::format_parse_context& ctx) { // NOLINT(readability-convert-member-functions-to-static): Specialization of fmt::formatter.
5151
auto it = ctx.begin();
5252
const auto last = ctx.end();
5353
if (it != last && *it == ':') {

m3c/test/Foo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ IFoo : public IUnknown {
3333
class Foo : public ComObject<IFoo> {
3434
public:
3535
Foo() = default;
36-
Foo(int value)
36+
explicit Foo(int value)
3737
: m_value(value) {
3838
// empty
3939
}

0 commit comments

Comments
 (0)