larroy / clearskies_core

Open source, distributed, secure data synchronization using the clearskies protocol
GNU Lesser General Public License v3.0
136 stars 15 forks source link

A lot of lines removed by introducing a base class for messages #14

Closed detunized closed 10 years ago

detunized commented 10 years ago

I'm not sure you'll accept it. See if you like it. It makes message classes much smaller and doesn't require to copy-paste the accept method. I'm also initializing member variables at definition to remove ctors altogether. Can't test if GCC can compile that.

larroy commented 10 years ago

This looks quite good, thanks.