Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
e20111b5
Unverified
Commit
e20111b5
authored
Jul 31, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small optimization
parent
e8f24f61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/Cif++.cpp
+3
-0
No files found.
src/Cif++.cpp
View file @
e20111b5
...
@@ -2947,6 +2947,9 @@ void Row::assign(size_t column, const std::string &value, bool skipUpdateLinked,
...
@@ -2947,6 +2947,9 @@ void Row::assign(size_t column, const std::string &value, bool skipUpdateLinked,
if
(
oldValue
!=
nullptr
and
value
==
oldValue
)
// no need to update
if
(
oldValue
!=
nullptr
and
value
==
oldValue
)
// no need to update
return
;
return
;
if
(
oldValue
==
nullptr
and
value
.
empty
())
// no need to update either
return
;
std
::
string
oldStrValue
=
oldValue
?
oldValue
:
""
;
std
::
string
oldStrValue
=
oldValue
?
oldValue
:
""
;
...
...
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