Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix std::exeception catch-by-reference gcc9 compile error (#7380)
Compile error (for gcc-9) created by change in #7254 as mentioned in the following comment. #7254 (comment) Core C++ Guidelines for catching exceptions says to always catch by reference. Polymorphism is supported only with pointers and references. http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Re-exception-ref Authors: - David (@davidwendt) Approvers: - Ram (Ramakrishna Prabhu) (@rgsl888prabhu) - MithunR (@mythrocks) URL: #7380
- Loading branch information