Guangya Liu created MESOS-5443: ---------------------------------- Summary: Remove "const" for some primitive types in function parameters Key: MESOS-5443 URL: https://issues.apache.org/jira/browse/MESOS-5443 Project: Mesos Issue Type: Bug Reporter: Guangya Liu Priority: Minor
It is not suggested to use `const` for a primitive type when using it in as a function parameter. There are indeed some cases using this such as `bool` here, we should scan and remove those invalid use. https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/cgroups/mem.cpp#L75 -- This message was sent by Atlassian JIRA (v6.3.4#6332)