Changeset 180 for cpp/frams/genetics


Ignore:
Timestamp:
03/18/14 09:11:39 (6 years ago)
Author:
Maciej Komosinski
Message:

Remove fixed length buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/genoconv.cpp

    r150 r180  
    1515#include "genoconv.h"
    1616#include <frams/util/multimap.h>
     17#include <common/stl-util.h>
    1718
    1819///////////////////////////////////////////////////////////////////////////
     
    189190                if (!tmp.len())
    190191                {
    191                         char t[100];
    192                         sprintf(t, "f%c->f%c conversion failed (%s)", gk->in_format, gk->out_format, gk->name);
    193                         return Geno(0, 0, 0, t);
     192                        string t=ssprintf("f%c->f%c conversion failed (%s)", gk->in_format, gk->out_format, gk->name);
     193                        return Geno(0, 0, 0, t.c_str());
    194194                }
    195195                if (mapavail)
Note: See TracChangeset for help on using the changeset viewer.