mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 14:54:05 +00:00
Enable some additional warnings. (#675)
This commit is contained in:
1 parent
a1c164f598
commit
d4ed6b1083
2 files changed
+7
No files matched your search
@@ -72,6 +72,11 @@ struct Stack {
|
||||
std::vector<T> elements;
|
||||
};
|
||||
|
||||
// Explicitly enable CTAD to silence warnings.
|
||||
// TODO: consider removing this (and perhaps the associated constructor).
|
||||
template <typename T>
|
||||
Stack(T x) -> Stack<T>;
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
#endif // EXECUTABLE_SEMANTICS_INTERPRETER_CONS_LIST_H_
|
||||
Reference in new issue
Block a user