From e60f80cc5684d5a4165e5da3ab1676865472b66a Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Tue, 10 Dec 2013 00:13:21 +0100 Subject: [PATCH] GFitsTable::hascolumn() method has been renamed to GFitsTable::contains(). --- src/ctselect/ctselect.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index d5cda62..4226bb0 100644 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -792,22 +792,22 @@ std::string ctselect::check_infile(const std::string& filename) const std::vector missing; // Check for existence of TIME column - if (!table->hascolumn("TIME")) { + if (!table->contains("TIME")) { missing.push_back("TIME"); } // Check for existence of ENERGY column - if (!table->hascolumn("ENERGY")) { + if (!table->contains("ENERGY")) { missing.push_back("ENERGY"); } // Check for existence of RA column - if (!table->hascolumn("RA")) { + if (!table->contains("RA")) { missing.push_back("RA"); } // Check for existence of DEC column - if (!table->hascolumn("DEC")) { + if (!table->contains("DEC")) { missing.push_back("DEC"); } -- libgit2 0.21.4