Skip to content

Commit 4c83a48

Browse files
Sebastien PonceSebastien Ponce
authored andcommitted
Fixed typo in constness test's solution
1 parent d3fe8dd commit 4c83a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/constness/test.sol.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ const int* identitypConst(const int *a) {
1919

2020
struct ConstTest {
2121
void hello(std::string &s) {
22-
std::cout << "Hello " << s << std::end;
22+
std::cout << "Hello " << s << std::endl;
2323
}
2424
void helloConst(std::string &s) const {
25-
std::cout << "Hello " << s << std::end;
25+
std::cout << "Hello " << s << std::endl;
2626
}
2727
};
2828

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy