Skip to content

Commit b97348e

Browse files
committed
Add default ctor to Reference.h
- Should fix the problem seen in mzR on BioC
1 parent 6c18f61 commit b97348e

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2014-02-07 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/Reference.h: Add default ctor
4+
15
2014-02-03 Kevin Ushey <[email protected]>
26

37
* inst/include/Rcpp/vector/Vector.h: Enable conversion from

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
3-
Version: 0.11.0.1
4-
Date: 2014-02-03
3+
Version: 0.11.0.2
4+
Date: 2014-02-07
55
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "[email protected]" ),
66
person("Romain", "Francois", role = "aut", email = "[email protected]"),
77
person("JJ", "Allaire", role = "ctb", email = "[email protected]"),

inst/NEWS.Rd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
\itemize{
77
\item Changes in Rcpp API:
88
\itemize{
9-
\item Preserve backwards compatibility with Rcpp 0.10.* by allow
10-
\code{RObject} extraction from vectors (or lists) of Rcpp objects
9+
\item Preserve backwards compatibility with Rcpp 0.10.* by
10+
allowing \code{RObject} extraction from vectors (or lists) of Rcpp
11+
objects
12+
\item Add missing default constructor to Reference class that was
13+
omitted in the header-only rewrite
1114
}
1215
}
1316
}

inst/include/Rcpp/Reference.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ namespace Rcpp{
3131
public FieldProxyPolicy<Reference_Impl<StoragePolicy> >
3232
{
3333
public:
34+
35+
Reference_Impl() {}
36+
3437
RCPP_GENERATE_CTOR_ASSIGN(Reference_Impl)
3538

3639
/**

0 commit comments

Comments
 (0)