On 30/09/17 13:24 +0200, Kevin Kofler wrote:
adel.ks@xxxxxxxxxxxxx wrote:
Yea well, since I used the convention of including libs only in the .h I
didn't do so. But yes you're right! I will update that.
Well, that convention doesn't make sense to begin with.
You should only #include in the .h file what you actually need to declare
your public API. Anything required only as part of the implementation should
be #include-d only in the .cpp file.
Yes, it's not a convention, it's a bug.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx