bitemyapp / bitemyapp/twitcurl

There is no "const" for parameters with explicit "in" comment

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```

What version of the product are you using? On what operating system?
r88

Please provide any additional information below.

please add const to your function parameter

e.g.:
bool statusUpdate( std::string& newStatus /* in */ );
// you explicit write its an "in" parameter but dont write:
bool statusUpdate(const std::string& newStatus /* in */ );
//the problem with this is you cant write things like:
twit.statusUpdate("new msg");
```

Original issue reported on code.google.com by `stu...@gmail.com` on 14 Jun 2012 at 7:34

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.