OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3754 from Hourier/Unify-Activation-ItemEntity-1
[hengbandforosx/hengbandosx.git]
/
src
/
spell-realm
/
spells-hex.cpp
diff --git
a/src/spell-realm/spells-hex.cpp
b/src/spell-realm/spells-hex.cpp
index
11ec821
..
885958c
100644
(file)
--- a/
src/spell-realm/spells-hex.cpp
+++ b/
src/spell-realm/spells-hex.cpp
@@
-153,7
+153,7
@@
std::pair<bool, std::optional<char>> SpellHex::select_spell_stopping(std::string
return { false, std::nullopt };
}
- auto choice =
choice_opt.value()
;
+ auto choice =
*choice_opt
;
if (isupper(choice)) {
choice = static_cast<char>(tolower(choice));
}