Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Damir Mustafin
lo3
Commits
102dc92b
Commit
102dc92b
authored
Dec 27, 2019
by
Alena Kokorina
Browse files
мелкие правки в выводе
parent
4ff99a10
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/rts/config.cpp
View file @
102dc92b
...
...
@@ -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 @
102dc92b
...
...
@@ -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
Supports
Markdown
0%
Try again
or
attach a new 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