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
[Refactor] #3496 optional 型の存在判定 has_value() を撤廃した その2
[hengbandforosx/hengbandosx.git]
/
src
/
flavor
/
named-item-describer.cpp
diff --git
a/src/flavor/named-item-describer.cpp
b/src/flavor/named-item-describer.cpp
index
3c3db52
..
b9fa866
100644
(file)
--- a/
src/flavor/named-item-describer.cpp
+++ b/
src/flavor/named-item-describer.cpp
@@
-192,7
+192,7
@@
static std::string describe_unique_name_after_body_ja(const ItemEntity &item, co
return "";
}
- if (auto body = describe_random_artifact_name_after_body_ja(item); body
.has_value()
) {
+ if (auto body = describe_random_artifact_name_after_body_ja(item); body) {
return body.value();
}