View | Details | Raw Unified | Return to bug 2447
Collapse All | Expand All

(-)a/src/core/model/attribute-helper.h (-1 / +2 lines)
 Lines 23-29    Link Here 
23
#include "attribute.h"
23
#include "attribute.h"
24
#include "attribute-accessor-helper.h"
24
#include "attribute-accessor-helper.h"
25
#include <sstream>
25
#include <sstream>
26
#include "fatal-error.h"
26
#include "abort.h"
27
27
28
/**
28
/**
29
 * \file
29
 * \file
 Lines 296-301    Link Here 
296
      std::istringstream iss;                                           \
296
      std::istringstream iss;                                           \
297
      iss.str (value);                                                  \
297
      iss.str (value);                                                  \
298
      iss >> m_value;                                                   \
298
      iss >> m_value;                                                   \
299
      NS_ABORT_MSG_UNLESS (iss.eof (), "Attribute value " << "\"" << value << "\"" << " is not properly formatted");                                        \
299
      return !iss.bad () && !iss.fail ();                               \
300
      return !iss.bad () && !iss.fail ();                               \
300
  }
301
  }
301
302
(-)a/src/core/model/object-factory.cc (+1 lines)
 Lines 188-193    Link Here 
188
            }
188
            }
189
        }
189
        }
190
    }
190
    }
191
  NS_ABORT_MSG_IF (is.bad (), "Failure to parse " << parameters);
191
  return is;
192
  return is;
192
}
193
}
193
194

Return to bug 2447