Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
a7b756a2
Commit
a7b756a2
authored
Apr 19, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed warning with -DNDEBUG
parent
8cf40567
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
benchmarks/actor_creation.cpp
benchmarks/actor_creation.cpp
+4
-1
benchmarks/mixed_case.cpp
benchmarks/mixed_case.cpp
+3
-0
No files found.
benchmarks/actor_creation.cpp
View file @
a7b756a2
...
...
@@ -143,7 +143,10 @@ int main(int argc, char** argv)
//cout << "value = " << value << endl
// << "expected => 2^" << num << " = "
// << (1 << num) << endl;
assert
(
value
==
(((
uint32_t
)
1
)
<<
num
));
if
(
value
!=
(((
uint32_t
)
1
)
<<
num
))
{
cerr
<<
"ERROR: received wrong result!
\n
"
;
}
}
);
await_all_others_done
();
...
...
benchmarks/mixed_case.cpp
View file @
a7b756a2
...
...
@@ -128,6 +128,9 @@ void check_factors(factors const& vec)
assert
(
vec
.
size
()
==
2
);
assert
(
vec
[
0
]
==
s_factor1
);
assert
(
vec
[
1
]
==
s_factor2
);
# ifdef NDEBUG
static_cast
<
void
>
(
vec
);
# endif
}
struct
fsm_worker
:
fsm_actor
<
fsm_worker
>
...
...
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