diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-22 23:29:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-22 23:29:58 +0100 |
| commit | e3d8790ae7c9f8dbbcc9cd8a1fa5c0fede26b872 (patch) | |
| tree | eb06f636fcea85567db3ba3a5d06879b44034959 /src/effect.cc | |
| parent | 0901a200ef4fedf0e78a2fb38bcf70944bfb1f8e (diff) | |
Small C++11 tweaks.
Diffstat (limited to 'src/effect.cc')
| -rw-r--r-- | src/effect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effect.cc b/src/effect.cc index 57eb863..dfdb40b 100644 --- a/src/effect.cc +++ b/src/effect.cc @@ -29,7 +29,7 @@ optional<Effect> sub::string_to_effect (string s) { if (s == "none") { - return optional<Effect> (); + return {}; } else if (s == "border") { return BORDER; } else if (s == "shadow") { |
