bzip2 compression only for certain types?

Created by: germasch

DataManSerializer::IsCompressionAvailable() contains this code, which may just have been copy&pasted from other compression methods.

else if (method == "bzip2")
    {
      if (type == helper::GetType<int32_t>() || type == helper::GetType<int64_t>() ||
	  type == helper::GetType<float>() || type == helper::GetType<double>())
        {
            return true;
        }
    }

The other compression methods are lossy and constrain their types, but for all I'm aware, bzip2 is lossless, so I don't really see why it would need to be restricted to certain types?

This is certainly not a big issue, just something I saw along the way, so I thought I'd note it.