Skip to content

Commit eb2869a

Browse files
etrclaude
andcommitted
README: re-sync hello-world snippet after copyright add
Previous fix added a Copyright line to examples/hello_world.cpp to satisfy cpplint, but scripts/check-readme.sh enforces that the first ```cpp fence in README.md matches the file byte-for-byte (TASK-041 A1 invariant). Add the same line to the snippet so check-readme passes again. Verified locally with both check-readme.sh and check-examples.sh (still 9 LOC, within the <=10 bound). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 356bac1 commit eb2869a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This README introduces the v2.0 API. It is not exhaustive: the headers under
1717
the authoritative reference.
1818

1919
```cpp
20+
// Copyright 2026 Sebastiano Merlino
2021
// libhttpserver hello-world example — the lambda form (PRD §3.4).
2122
// Compiles in ten lines including main(), with no http_resource subclass
2223
// and no raw-pointer ownership. Production code typically qualifies names

0 commit comments

Comments
 (0)