projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small C++11 tweaks.
[libsub.git]
/
src
/
effect.cc
diff --git
a/src/effect.cc
b/src/effect.cc
index 57eb8633ee4516e278798f74ae74261f6f1e5cfe..dfdb40b18403895e9646e08744a004b8eda1d844 100644
(file)
--- 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") {