You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (JIRA)" <ji...@apache.org> on 2019/05/20 22:09:00 UTC
[jira] [Closed] (GEODE-4841) Switch declaration of HashMapOfPools
to 'using' in PoolManagerImpl
[ https://issues.apache.org/jira/browse/GEODE-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Bender closed GEODE-4841.
-------------------------------
> Switch declaration of HashMapOfPools to 'using' in PoolManagerImpl
> ------------------------------------------------------------------
>
> Key: GEODE-4841
> URL: https://issues.apache.org/jira/browse/GEODE-4841
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Blake Bender
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Currently this is a convenience typedef in the header file, and comes with all the associated baggage - pollutes the global namespace, etc. We should be good C++11 citizens and remove the typedef, replacing it with a 'using' statement at class scope closer to where we actually need the type. Or, just declare variables of this type as 'auto' in PoolManagerImpl, even more convenient.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)