Skip to content

Commit fd1d108

Browse files
committed
add missing return in Impl method (Closes: #131)
1 parent 7eac552 commit fd1d108

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2014-03-14 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/include/Rcpp/DataFrame.h (Rcpp): Add missing return in Impl method
4+
15
2014-03-13 Dirk Eddelbuettel <edd@debian.org>
26

37
* DESCRIPTION: Release 0.11.0

inst/include/Rcpp/DataFrame.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// DataFrame.h: Rcpp R/C++ interface class library -- data frames
44
//
5-
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2014 Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//
@@ -51,7 +51,8 @@ namespace Rcpp{
5151
DataFrame_Impl( const T& obj ) ;
5252

5353
DataFrame_Impl& operator=( DataFrame_Impl& other){
54-
if( *this != other) set__(other) ;
54+
if (*this != other) set__(other);
55+
return *this;
5556
}
5657

5758
DataFrame_Impl& operator=( SEXP x){

0 commit comments

Comments
 (0)