~alan-griffiths/compiz-core/fix-leaks

« back to all changes in this revision

Viewing changes to include/core/abiversion.h

  • Committer: smspillaz
  • Date: 2012-01-26 09:11:19 UTC
  • mfrom: (2961.4.15 vector-color-variant)
  • Revision ID: sam.spilsbury@canonical.com-20120126091119-u0327yl2rjmawwrt
Fixes up a bunch of boost::variant edge cases

1. Fixes a case where const char * would be converted to bool, add a wrapper to ensure it gets converted to CompString
2. Fixes a case where unsigned short [] and unsigned short * would get converted to bool also, add a wrapper to ensure they are stored correctly
3. Adds some template specializations for the above, especially the reading part.
      
Merge lp:~smspillaz/compiz-core/compiz-core.option-variant-type-fixes 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#  error Conflicting definitions of CORE_ABIVERSION
6
6
#endif
7
7
 
8
 
#define CORE_ABIVERSION 20120123
 
8
#define CORE_ABIVERSION 20120125
9
9
 
10
10
#endif // COMPIZ_ABIVERSION_H