Skip to content

Commit fc0ced6

Browse files
committed
Repair a typo in code snippets
1 parent b007fc4 commit fc0ced6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code_snippets/chapter03/chapter03_04-001_namespaces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace mcal
1919
// The general purpose timer stuff in the mcal.
2020
namespace gpt
2121
{
22-
auto init() void { std::cout << "in gpt::init()" << std::endl; }
22+
auto init() -> void { std::cout << "in gpt::init()" << std::endl; }
2323

2424
auto get_time_elapsed() -> std::uint32_t { return UINT32_C(0); }
2525
}

0 commit comments

Comments
 (0)