[nemiver/asm-support] More GCC 4.5 fixes, #611588



commit 47de92eea6065fd67f83b11f65e41194553f7b4f
Author: Dominique Leuenberger <dominique-gnomezilla leuenberger net>
Date:   Tue Mar 2 18:39:00 2010 +0100

    More GCC 4.5 fixes, #611588
    
    	* src/langs/nmv-cpp-ast.cc (Token::operator=): Token::Token is
    	the name of the constructor, not of the type.

 src/langs/nmv-cpp-ast.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/langs/nmv-cpp-ast.cc b/src/langs/nmv-cpp-ast.cc
index fbbe559..9e17d1b 100644
--- a/src/langs/nmv-cpp-ast.cc
+++ b/src/langs/nmv-cpp-ast.cc
@@ -64,7 +64,7 @@ Token::Token (const Token &a_t)
     m_int_value = a_t.get_int_value ();
 }
 
-Token::Token&
+Token&
 Token::operator= (const Token &a_t)
 {
     m_kind = a_t.get_kind ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]