Commit f70ebd2d authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

Merge branch 'kokorina_refactor#1' into 'master'

мелкие правки в выводе

See merge request luna/lo3!27
parents b6674f12 102dc92b
......@@ -35,7 +35,7 @@ Config::Config(int argc, char **argv)
if (mode_==UNSET) {
mode_=ERROR;
ERROR("Not enoguh command-line arguments")
ERROR("Not enough command-line arguments")
}
if (mode_==ERROR) {
......
......@@ -346,7 +346,7 @@ void DF::_copy(const void *ptr, size_t size)
size_=size;
ptr_=operator new(size_);
if (!ptr_) {
ABORT("operator new(" + std::to_string(size_) + "0 failed")
ABORT("operator new(" + std::to_string(size_) + ") failed")
}
memcpy(ptr_, ptr, size_);
refs_=new std::atomic_int(1);
......@@ -360,7 +360,7 @@ void DF::_create(size_t size)
size_=size;
ptr_=operator new(size_);
if (!ptr_) {
ABORT("operator new(" + std::to_string(size_) + "0 failed")
ABORT("operator new(" + std::to_string(size_) + ") failed")
}
refs_=new std::atomic_int(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment