]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/example/bessel_zeros_example_1.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / math / example / bessel_zeros_example_1.cpp
index de1cd7eb70e32eb362c9edb29d23fa74e2679ed1..59172cd02153df8da4e5965bdadb33a1a5bbcd8c 100644 (file)
@@ -181,7 +181,7 @@ We set the precision of the output stream, and show trailing zeros to display a
               std::ostream_iterator<float_type>(std::cout, "\n"));
 //] [/bessel_zeros_example_2]
   }
-  catch (std::exception ex)
+  catch (std::exception const& ex)
   {
     std::cout << "Thrown exception " << ex.what() << std::endl;
   }