~alan-griffiths/compiz-core/cleanup-PrivateScreen

Viewing all changes in revision 2965.

  • 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 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: