Changeset 3048


Ignore:
Timestamp:
Jun 12, 2013, 2:16:28 AM (8 years ago)
Author:
Peter
Message:

avoid cassert in header file

Location:
trunk/yat/omic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/BamFile.cc

    r2993 r3048  
    3131#include YAT_BAM_HEADER
    3232
     33#include <cassert>
    3334#include <stdexcept>
    3435#include <string>
  • trunk/yat/omic/BamFile.h

    r2993 r3048  
    2828
    2929#include "yat/utility/Exception.h"
     30#include "yat/utility/yat_assert.h"
    3031
    3132#include YAT_SAM_HEADER
     
    3334#include <boost/utility.hpp>
    3435
    35 #include <cassert>
    3636#include <cstdio>
    3737#include <sstream>
     
    245245  {
    246246    filename_ = fn;
    247     assert(!sf_);
     247    YAT_ASSERT(!sf_);
    248248    sf_ = samopen(fn.c_str(), mode.c_str(), aux);
    249249    if (!sf_) {
Note: See TracChangeset for help on using the changeset viewer.