You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Guangya Liu (JIRA)" <ji...@apache.org> on 2016/05/23 22:36:12 UTC
[jira] [Created] (MESOS-5443) Remove "const" for some primitive
types in function parameters
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)