Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pycomsdk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
com
pycomsdk
Commits
1be7552f
Commit
1be7552f
authored
Dec 18, 2019
by
Savva Golubitsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
template improvments
parent
887cffd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
template.cpp
cpp/template.cpp
+4
-4
No files found.
cpp/template.cpp
View file @
1be7552f
...
@@ -22,9 +22,9 @@ BoolArrFunc LoadSelector(std::string lib, std::string func){
...
@@ -22,9 +22,9 @@ BoolArrFunc LoadSelector(std::string lib, std::string func){
}
}
void
check_pred
(
bool
predval
,
std
::
string
predname
)
{
void
check_pred
(
bool
predval
,
std
::
string
predname
)
{
if
predval
{
if
(
!
predval
)
{
std
::
cout
<<
"Predicate
"
<<
predname
<<
"
returned FALSE!"
<<
std
::
endl
;
std
::
cout
<<
"Predicate
"
<<
predname
<<
"
returned FALSE!"
<<
std
::
endl
;
exit
(
-
1
)
exit
(
-
1
)
;
}
}
}
}
...
@@ -35,7 +35,7 @@ int main(int argc, char const *argv[])
...
@@ -35,7 +35,7 @@ int main(int argc, char const *argv[])
std
::
cerr
<<
"Cannot find file:"
<<
argv
[
1
]
<<
std
::
endl
;
std
::
cerr
<<
"Cannot find file:"
<<
argv
[
1
]
<<
std
::
endl
;
return
-
1
;
return
-
1
;
}
}
com
::
Anymap
data
();
auto
data
=
com
::
Anymap
();
parser
.
loadINIDataToAnyMap
(
data
);
parser
.
loadINIDataToAnyMap
(
data
);
//Predicates
//Predicates
%
for
pred
in
preds
:
%
for
pred
in
preds
:
...
...
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