gtorrent / gtorrent-core

Core library of gTorrent which handles everything but UI/UX
GNU General Public License v3.0
39 stars 12 forks source link

Wip/peer #116

Closed infoburp closed 10 years ago

infoburp commented 10 years ago

Nearly ready?

benwaffle commented 10 years ago

don't we need shared_ptr

IGI-111 commented 10 years ago

@benwaffle i don't see what you mean, what does this has to do with any use of shared_ptr whatsoever?

fuyukaidesu commented 10 years ago

@benwaffle The Peer class isn't THAT big to need to be allocated on the heap.

nyanpasu commented 10 years ago

@fuyukaidesu Where is it allocated on the heap, though?

fuyukaidesu commented 10 years ago

I was replying to ben that wanted it to be allocated on the heap.

benwaffle commented 10 years ago

c++ memory managment how does it work

fuyukaidesu commented 10 years ago

It doesn't. :^)