mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Enable some additional warnings. (#675)
This commit is contained in:
@@ -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