Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
bad18f2a
"readme.md" did not exist on "af76ea291dd20ee322b40e8dbf80fa8e39053f70"
Commit
bad18f2a
authored
16 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1299: Generate an error when trying to use a MultiDimArray copy
constructor.
parent
c6a13891
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RTCP/Interface/include/Interface/MultiDimArray.h
+6
-0
6 additions, 0 deletions
RTCP/Interface/include/Interface/MultiDimArray.h
with
6 additions
and
0 deletions
RTCP/Interface/include/Interface/MultiDimArray.h
+
6
−
0
View file @
bad18f2a
...
...
@@ -64,6 +64,12 @@ template <typename T, unsigned DIM> class MultiDimArray : public boost::multi_ar
private
:
Allocator
&
allocator
;
// don't allow copy constructors -- they are not yet implemented
// the default boost implementation just copies the pointers
// to the data area, resulting in a double free when deallocating
// both copies.
MultiDimArray
(
const
MultiDimArray
<
T
,
DIM
>
&
other
);
static
size_t
nrElements
(
const
ExtentList
&
extents
)
{
size_t
size
=
1
;
...
...
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