~marcustomlinson/unity-scopes-api/fix-clang-warnings

« back to all changes in this revision

Viewing changes to include/unity/scopes/internal/SwitchFilterImpl.h

  • Committer: Tarmac
  • Author(s): Pawel Stolowski
  • Date: 2015-11-16 11:01:57 UTC
  • mfrom: (639.2.3 filters-changes)
  • Revision ID: tarmac-20151116110157-sdb24wznwxxlg8cp
Only allow Primary flag to be set for single-selection OptionSelector (throw for others).

Approved by PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    static SwitchFilter::SPtr create(VariantMap const& var);
45
45
 
46
46
protected:
 
47
    void validate_display_hints() const override;
47
48
    std::string filter_type() const override;
48
49
    void serialize(VariantMap& var) const override;
49
50
    void deserialize(VariantMap const& var);