Prevent error "cast discards const qualifier"
This commit is contained in:
parent
469d4dfbf4
commit
a7736f7d80
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
// with the "dot syntax", the instance will be automatically
|
||||
// passed as the "self" parameter:
|
||||
//
|
||||
// const my_bar = Bar{ .number = 2000 };
|
||||
// var my_bar = Bar{ .number = 2000 };
|
||||
// my_bar.printMe(); // prints "2000"
|
||||
//
|
||||
// Okay, you're armed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue