Skip to content
Snippets Groups Projects
Commit 5bd7a729 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: make Switch construct from string explicit (issue #568)

- actually prevent this type of thing:

      Switch sw;
      sw = "none";

  without relinquishing automatic conversion to/from bool.
  Nonetheless, make construct from string explicit.

- Added some minor optimization for the lookup of the switch names.
parent b44bebe1
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment