Project

General

Profile

Task #103

Const Correctness

Added by Anonymous almost 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
02/20/2015
Due date:
% Done:

0%


Description

Reported by elfring on GitHub.

I suggest to add the key word "const" to the type specifiers for parameters like the following.

key_string (function "BlowfishSetKey") src/Crypto/Blowfish.h#L18
name (function "ReadLocalMachineRegistryString") src/Common/Registry.h#L15
xmlNode (function "XmlNextNode") src/Common/Xml.h#L13

Would you like to apply the advices from an article to more places in your source files?

Also available in: Atom PDF