Correcting file included in eoOpSelMason.h

This commit is contained in:
Ronaldd Pinho 2019-06-29 19:19:11 -03:00
commit de830229e8

View file

@ -24,7 +24,7 @@
#ifndef _EOOPSELMASON_H #ifndef _EOOPSELMASON_H
#define _EOOPSELMASON_H #define _EOOPSELMASON_H
#include <eoOpFactory.h> // for eoFactory and eoOpFactory #include "eoFactory.h" // for eoFactory and eoOpFactory
#include <map> #include <map>
@ -58,7 +58,7 @@ public:
...\\ ...\\
Stores all operators built in a database (#allocMap#), so that somebody Stores all operators built in a database (#allocMap#), so that somebody
can destroy them later. The Mason is in charge or destroying the operators, can destroy them later. The Mason is in charge or destroying the operators,
since the built object can´t do it itself. The objects built must be destroyed since the built object can<EFBFBD>t do it itself. The objects built must be destroyed
from outside, using the "destroy" method from outside, using the "destroy" method
*/ */
virtual eoOpSelector<eoClass>* make(std::istream& _is) { virtual eoOpSelector<eoClass>* make(std::istream& _is) {
@ -79,7 +79,7 @@ public:
_is >> rate; _is >> rate;
if ( _is ) { if ( _is ) {
eoOp<eoClass>* op = operatorFactory.make( _is ); // This reads the rest of the line eoOp<eoClass>* op = operatorFactory.make( _is ); // This reads the rest of the line
// Add the operators to the selector, don´t pay attention to the IDs // Add the operators to the selector, don<EFBFBD>t pay attention to the IDs
opSelectorP->addOp( *op, rate ); opSelectorP->addOp( *op, rate );
// Keep it in the store, to destroy later // Keep it in the store, to destroy later
tmpPVec.push_back( op ); tmpPVec.push_back( op );