Renaming Module::Type to Module::ModuleType for clarity.

A monicelli::Type enum is already defined.
This commit is contained in:
Stefano Sanfilippo 2015-03-07 14:05:03 +01:00
parent 43fc82d318
commit 0f5c138948

View File

@ -425,11 +425,11 @@ private:
class Module: public Emittable {
public:
enum Type {
enum ModuleType {
SYSTEM, USER
};
Module(const std::string &n, Type s): name(n), type(s) {}
Module(const std::string &n, ModuleType s): name(n), type(s) {}
virtual bool emit(Emitter *emitter) const {
return emitter->emit(*this);
@ -447,13 +447,13 @@ public:
return name;
}
Type getType() const {
ModuleType getType() const {
return type;
}
private:
std::string name;
Type type;
ModuleType type;
};
} // namespace