Skip to content

Commit

Permalink
[flang] Fix an ambiguous overload error
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Mar 5, 2020
1 parent 83ccf62 commit 0a8a6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/include/flang/Parser/dump-parse-tree.h
Expand Up @@ -784,7 +784,7 @@ class ParseTreeDumper {
std::is_same_v<T, std::int64_t> || std::is_same_v<T, std::uint64_t>) {
ss << x;
}
if (ss.tellp() != 0) {
if (ss.tellp()) {
return ss.str();
}
if constexpr (std::is_same_v<T, Name> || HasSource<T>::value) {
Expand Down

0 comments on commit 0a8a6cd

Please sign in to comment.