[med-svn] [cnrun] 09/14: nmlio.cc: don't (double) check for libxml io caps
andrei zavada
hmmr-guest at moszumanska.debian.org
Sat Feb 21 15:07:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch WIP
in repository cnrun.
commit 27b3b9650a897f1734f6b9d2ff663ae9666ec776
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Wed Jan 21 22:41:23 2015 +0200
nmlio.cc: don't (double) check for libxml io caps
---
upstream/src/libcnrun/model/nmlio.cc | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/upstream/src/libcnrun/model/nmlio.cc b/upstream/src/libcnrun/model/nmlio.cc
index f4d8360..9711377 100644
--- a/upstream/src/libcnrun/model/nmlio.cc
+++ b/upstream/src/libcnrun/model/nmlio.cc
@@ -23,9 +23,6 @@
using namespace std;
-#ifdef LIBXML_READER_ENABLED
-
-
int
cnrun::CModel::
import_NetworkML( const string& fname, TNMLImportOption import_option)
@@ -47,7 +44,7 @@ import_NetworkML( const string& fname, TNMLImportOption import_option)
-inline namespace {
+namespace {
xmlNode*
find_named_root_child_elem( xmlNode *node, // node to start search from
@@ -483,10 +480,6 @@ export_NetworkML( const string& fname)
}
-#else
-# error Need an XMLREADER-enabled libxml2 (>2.6)
-#endif // LIBXML_READER_ENABLED
-
// Local Variables:
// Mode: c++
// indent-tabs-mode: nil
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cnrun.git
More information about the debian-med-commit
mailing list