Skip to content

Commit

Permalink
Merge pull request #15 from rok4/fix/metadataurl-copy
Browse files Browse the repository at this point in the history
Correction de la copie de MetadataURL
  • Loading branch information
Dolite committed Sep 29, 2023
2 parents 18846a5 + 30aed43 commit 2b0788e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/MetadataURL.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class MetadataURL : public ResourceLocator {
* \param[in] origMtdUrl MetadataURL to copy
*/
MetadataURL ( const MetadataURL & origMtdUrl ) : ResourceLocator ( origMtdUrl ) {
href = origMtdUrl.href;
format = origMtdUrl.format;
type = origMtdUrl.type;
};
/**
Expand Down
2 changes: 1 addition & 1 deletion src/UtilsWMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ void Rok4Server::buildWMSCapabilities() {
styleEl->LinkEndChild ( UtilsXML::buildTextNode ( "Abstract", style->getAbstracts() [j].c_str() ) );
}
for ( j=0 ; j < style->getLegendURLs().size(); ++j ) {
BOOST_LOG_TRIVIAL(debug) << "LegendURL" << style->getId() ;
BOOST_LOG_TRIVIAL(debug) << "LegendURL " << style->getId() ;
LegendURL legendURL = style->getLegendURLs() [j];
TiXmlElement* legendURLEl = new TiXmlElement ( "LegendURL" );

Expand Down

0 comments on commit 2b0788e

Please sign in to comment.