[
https://issues.apache.org/jira/browse/TS-4976?focusedWorklogId=30799&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30799
]
ASF GitHub Bot logged work on TS-4976:
--------------------------------------
Author: ASF GitHub Bot
Created on: 18/Oct/16 13:37
Start Date: 18/Oct/16 13:37
Worklog Time Spent: 10m
Work Description: Github user SolidWallOfCode commented on a diff in the
pull request:
https://github.com/apache/trafficserver/pull/1114#discussion_r83854785
--- Diff: example/intercept/intercept.cc ---
@@ -538,9 +538,9 @@ TSPluginInit(int /* argc */, const char * /* argv */ [])
{
TSPluginRegistrationInfo info;
- info.plugin_name = (char *)PLUGIN;
- info.vendor_name = (char *)"MyCompany";
- info.support_email = (char *)"[email protected]";
+ info.plugin_name = PLUGIN;
+ info.vendor_name = "MyCompany";
+ info.support_email = "[email protected]";
--- End diff --
I fixed `example/add-header` and `example/append-transform` this way. See
if that looks reasonable. For `.cc` files I would replace `static` with the
anonymous namespace.
Issue Time Tracking
-------------------
Worklog Id: (was: 30799)
Time Spent: 1h (was: 50m)
> Clean up casting in the plugins.
> --------------------------------
>
> Key: TS-4976
> URL: https://issues.apache.org/jira/browse/TS-4976
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Fix For: 7.1.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> With TS-4971 committed, we should clean up the {{const_cast}} formerly
> required.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)