|
From: Lasse Kärkkäi. <tr...@us...> - 2010-05-22 17:46:01
|
Module: performous
Branch: master
Commit: 8165e44251009ddff766a304272c3cb24bbcd54b
Author: Lasse Karkkainen <tro...@tr...>
Date: Sat May 22 20:45:17 2010 +0300
Add a missing const that for some reason had gone undetected by other compilers (detected by clang++).
---
tools/ss_extract.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/ss_extract.cpp b/tools/ss_extract.cpp
index eda8362..c7979d9 100644
--- a/tools/ss_extract.cpp
+++ b/tools/ss_extract.cpp
@@ -643,7 +643,7 @@ struct FindSongs {
s.title = elem.get_attribute("TITLE")->get_value();
s.artist = elem.get_attribute("PERFORMANCE_NAME")->get_value();
if (!m_search.empty() && m_search != elem.get_attribute("ID")->get_value() && (s.artist + " - " + s.title).find(m_search) == std::string::npos) continue;
- xmlpp::Node* node = dynamic_cast<const xmlpp::Node*>((*it));
+ xmlpp::Node const* node = dynamic_cast<xmlpp::Node const*>(*it);
get_node(node, s.genre, s.year); // get the values for genre and year
xmlpp::NodeSet fr = elem.find(ns + "VIDEO/@FRAME_RATE", nsmap);
|