ALT Linux Bugzilla
– Attachment 6693 Details for
Bug 32001
apply the patch below to support -std=c++11
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
proposed patch
boost-numeric-ublas-storage-cxx11.patch (text/plain), 1.27 KB, created by
viy
on 2016-04-19 16:29:39 MSK
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
viy
Created:
2016-04-19 16:29:39 MSK
Size:
1.27 KB
patch
obsolete
>--- /usr/include/boost/numeric/ublas/storage.hpp~ 2016-04-02 11:34:46.000000000 +0000 >+++ /usr/include/boost/numeric/ublas/storage.hpp 2016-04-19 13:07:41.126116952 +0000 >@@ -777,9 +777,9 @@ > BOOST_UBLAS_INLINE > shallow_array_adaptor (size_type size, pointer data): > size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {} >- BOOST_UBLAS_INLINE >+ > template <size_t N> >- shallow_array_adaptor (T (&data)[N]): >+ BOOST_UBLAS_INLINE shallow_array_adaptor (T (&data)[N]): > size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {} > > BOOST_UBLAS_INLINE >@@ -833,14 +833,14 @@ > void resize (size_type size, pointer data, value_type init) { > resize_internal (size, data, init, true); > } >- BOOST_UBLAS_INLINE >+ > template <size_t N> >- void resize (T (&data)[N]) { >+ BOOST_UBLAS_INLINE void resize (T (&data)[N]) { > resize_internal (N, data, value_type (), false); > } >- BOOST_UBLAS_INLINE >+ > template <size_t N> >- void resize (T (&data)[N], value_type init) { >+ BOOST_UBLAS_INLINE void resize (T (&data)[N], value_type init) { > resize_internal (N, data, init, true); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32001
: 6693