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

Minor style changes. #38

Closed fuyukaidesu closed 10 years ago

fuyukaidesu commented 10 years ago

Removed redundant gt::, cleaned up code, and fixed circular inclusion, that prevented the build.

benwaffle commented 10 years ago

wait how did vector<shared_ptr<Torrent>> compile?

fuyukaidesu commented 10 years ago

Why wouldn't it ? >> has been fixed since C++11.

fuyukaidesu commented 10 years ago

you can't do vector> because >> is an operator did you even compile?

As I said, yes, I always compile before doing a PR, and the >> was fixed with C++11 because C++ is shit at parsing its own code.

The Travis CI build passed

benwaffle commented 10 years ago

please astyle also i guess you want to remove the line in format.sh for include/

benwaffle commented 10 years ago

cmake uses 4 spaces for indentation, so we need to format that