Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fb7be527
Commit
fb7be527
authored
Aug 22, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a comment about I_List<> copy constructor.
parent
c75cfc35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
sql/sql_list.h
sql/sql_list.h
+6
-1
No files found.
sql/sql_list.h
View file @
fb7be527
...
@@ -426,9 +426,14 @@ struct ilink
...
@@ -426,9 +426,14 @@ struct ilink
template
<
class
T
>
class
I_List_iterator
;
template
<
class
T
>
class
I_List_iterator
;
/*
WARNING: copy constructor of this class does not create a usable
copy, as its members may point at each other.
*/
class
base_ilist
class
base_ilist
{
{
public:
public:
struct
ilink
*
first
,
last
;
struct
ilink
*
first
,
last
;
inline
void
empty
()
{
first
=
&
last
;
last
.
prev
=
&
first
;
}
inline
void
empty
()
{
first
=
&
last
;
last
.
prev
=
&
first
;
}
base_ilist
()
{
empty
();
}
base_ilist
()
{
empty
();
}
...
...
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