Compare commits
1 Commits
libxml-cxx
...
libxml-cxx
Author | SHA1 | Date | |
---|---|---|---|
|
4109022250 |
@@ -6,13 +6,8 @@ License: LGPL
|
|||||||
Group: Development/Libraries/C++
|
Group: Development/Libraries/C++
|
||||||
URL: https://dev.marc.waeckerlin.org/projects/@PACKAGENAME@
|
URL: https://dev.marc.waeckerlin.org/projects/@PACKAGENAME@
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make
|
BuildRequires: subversion libcppunit-devel gcc-c++ doxygen graphviz texlive automake autoconf libtool make
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
|
||||||
BuildRequires: cppunit-devel
|
|
||||||
%else%if 0%{?suse_version} || 0%{?sles_version}
|
|
||||||
BuildRequires: libcppunit-devel
|
|
||||||
%endif%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@@ -1303,7 +1303,7 @@ namespace xml {
|
|||||||
for (xml::Node::size_type i(0); i<node->children(); ++i) {
|
for (xml::Node::size_type i(0); i<node->children(); ++i) {
|
||||||
typename CONTAINER_TYPE::value_type tmp;
|
typename CONTAINER_TYPE::value_type tmp;
|
||||||
Serialize::fromNode(&tmp, (*node)[i]); // reads into tmp
|
Serialize::fromNode(&tmp, (*node)[i]); // reads into tmp
|
||||||
this->push_back(tmp);
|
push_back(tmp);
|
||||||
}
|
}
|
||||||
return is;
|
return is;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user