Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HRCPP-73 TcpTansportFactory stores hash in shared_ptr #63

Closed
wants to merge 1 commit into from
Closed

HRCPP-73 TcpTansportFactory stores hash in shared_ptr #63

wants to merge 1 commit into from

Conversation

vblagoje
Copy link

@vblagoje vblagoje commented Nov 7, 2013

Use pointer instead of shared_ptr

@@ -59,7 +59,7 @@ class TcpTransportFactory : public TransportFactory
void createAndPreparePool();

HR_SHARED_PTR<infinispan::hotrod::consistenthash::ConsistentHashFactory> hashFactory;
HR_SHARED_PTR<infinispan::hotrod::consistenthash::ConsistentHash> consistentHash;
infinispan::hotrod::consistenthash::ConsistentHash* consistentHash;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you add consistentHash(0) to the constructor initialization

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I did. See if this is what you meant!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep !

@tristantarrant
Copy link
Member

Pulled, thanks

@vblagoje vblagoje deleted the HRCPP-73 branch November 13, 2013 15:04
@infinispanrelease
Copy link

SUCCESS - TeamCity HotRod C# Client :: Pull requests monitor - WIN_S2012 Build 165 for fe3b6a8
Tests: 0, 0 failed (0 new), 0 ignored. Build time: 00:15:47

@infinispanrelease
Copy link

SUCCESS - TeamCity HotRod C# Client :: Pull requests monitor - WIN_S2012 Build 166 for fe3b6a8
Tests: 0, 0 failed (0 new), 0 ignored. Build time: 00:16:02

@infinispanrelease
Copy link

SUCCESS - TeamCity HotRod C# Client :: Pull requests monitor - WIN_S2012 Build 167 for fe3b6a8
Tests: 0, 0 failed (0 new), 0 ignored. Build time: 00:20:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants