Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chaofan Chen
ogs
Commits
a17d5dd9
Commit
a17d5dd9
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[CL] Pass database as const&. Avoids string copy.
parent
0aedefe7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChemistryLib/PhreeqcKernel.cpp
+1
-1
1 addition, 1 deletion
ChemistryLib/PhreeqcKernel.cpp
ChemistryLib/PhreeqcKernel.h
+1
-1
1 addition, 1 deletion
ChemistryLib/PhreeqcKernel.h
with
2 additions
and
2 deletions
ChemistryLib/PhreeqcKernel.cpp
+
1
−
1
View file @
a17d5dd9
...
...
@@ -26,7 +26,7 @@ PhreeqcKernel::PhreeqcKernel(
std
::
size_t
const
num_chemical_systems
,
std
::
vector
<
std
::
pair
<
int
,
std
::
string
>>
const
&
process_id_to_component_name_map
,
std
::
string
const
database
,
std
::
string
const
&
database
,
AqueousSolution
aqueous_solution
,
std
::
unique_ptr
<
EquilibriumReactants
>&&
equilibrium_reactants
,
std
::
unique_ptr
<
Kinetics
>&&
kinetic_reactants
,
...
...
This diff is collapsed.
Click to expand it.
ChemistryLib/PhreeqcKernel.h
+
1
−
1
View file @
a17d5dd9
...
...
@@ -35,7 +35,7 @@ public:
PhreeqcKernel
(
std
::
size_t
const
num_chemical_systems
,
std
::
vector
<
std
::
pair
<
int
,
std
::
string
>>
const
&
process_id_to_component_name_map
,
std
::
string
const
database
,
std
::
string
const
&
database
,
AqueousSolution
aqueous_solution
,
std
::
unique_ptr
<
EquilibriumReactants
>&&
equilibrium_reactants
,
std
::
unique_ptr
<
Kinetics
>&&
kinetic_reactants
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment