Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Aleksandr Chmil
lo3
Commits
f70ebd2d
Commit
f70ebd2d
authored
Jan 14, 2020
by
Vladislav Perepelkin
Browse files
Merge branch 'kokorina_refactor#1' into 'master'
мелкие правки в выводе See merge request luna/lo3!27
parents
b6674f12
102dc92b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/rts/config.cpp
View file @
f70ebd2d
...
...
@@ -35,7 +35,7 @@ Config::Config(int argc, char **argv)
if
(
mode_
==
UNSET
)
{
mode_
=
ERROR
;
ERROR
(
"Not eno
g
uh command-line arguments"
)
ERROR
(
"Not enou
g
h command-line arguments"
)
}
if
(
mode_
==
ERROR
)
{
...
...
src/rts/df.cpp
View file @
f70ebd2d
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment