summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-11-10 13:10:57 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-11-10 13:10:57 +0000
commit89590439505d8e5dff8b4a6badd840237f9ae556 (patch)
tree9bd3e8c5d073816f67f9d3a65d8a6a3b761f5c0f /ASNMP
parentb642b5f78d00ad254c9d7a9036e0435cc4c87f2c (diff)
downloadATCD-89590439505d8e5dff8b4a6badd840237f9ae556.tar.gz
ChangeLogTag: Wed Nov 10 07:10:12 2004 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/asnmp/enttraps.h8
-rw-r--r--ASNMP/asnmp/smival.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/ASNMP/asnmp/enttraps.h b/ASNMP/asnmp/enttraps.h
index 13dcaea1cad..460c2bae121 100644
--- a/ASNMP/asnmp/enttraps.h
+++ b/ASNMP/asnmp/enttraps.h
@@ -43,6 +43,7 @@ class ASNMP_Export snmpTrapsOid: public Oid
{
public:
snmpTrapsOid (void):Oid("1.3.6.1.6.3.1.1.5"){}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return Oid::operator=(val); }
};
class ASNMP_Export snmpTrapEnterpriseOid: public Oid
@@ -51,6 +52,7 @@ class ASNMP_Export snmpTrapEnterpriseOid: public Oid
{
public:
snmpTrapEnterpriseOid(void): Oid("1.3.6.1.6.3.1.1.4.3.0") { }
+ SnmpSyntax& operator=( SnmpSyntax &val){ return Oid::operator=(val); }
};
class ASNMP_Export coldStartOid: public snmpTrapsOid
@@ -59,6 +61,7 @@ class ASNMP_Export coldStartOid: public snmpTrapsOid
{
public:
coldStartOid( void){*this+=".1";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
class ASNMP_Export warmStartOid: public snmpTrapsOid
@@ -67,6 +70,7 @@ class ASNMP_Export warmStartOid: public snmpTrapsOid
{
public:
warmStartOid( void){*this+=".2";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
class ASNMP_Export linkDownOid: public snmpTrapsOid
@@ -75,6 +79,7 @@ class ASNMP_Export linkDownOid: public snmpTrapsOid
{
public:
linkDownOid( void){*this+=".3";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
@@ -85,6 +90,7 @@ class ASNMP_Export linkUpOid: public snmpTrapsOid
{
public:
linkUpOid( void){*this+=".4";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
class ASNMP_Export authenticationFailureOid: public snmpTrapsOid
@@ -93,6 +99,7 @@ class ASNMP_Export authenticationFailureOid: public snmpTrapsOid
{
public:
authenticationFailureOid( void){*this+=".5";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
class ASNMP_Export egpNeighborLossOid: public snmpTrapsOid
@@ -101,6 +108,7 @@ class ASNMP_Export egpNeighborLossOid: public snmpTrapsOid
{
public:
egpNeighborLossOid( void){*this+=".6";}
+ SnmpSyntax& operator=( SnmpSyntax &val){ return snmpTrapsOid::operator=(val); }
};
#ifdef DEFINE_TRAP_CONSTANTS_
diff --git a/ASNMP/asnmp/smival.h b/ASNMP/asnmp/smival.h
index c9de5701651..c8bd6b8a5c9 100644
--- a/ASNMP/asnmp/smival.h
+++ b/ASNMP/asnmp/smival.h
@@ -88,7 +88,7 @@ public:
virtual ~SnmpSyntax() {};
// virtual destructor to ensure deletion of derived classes...
- virtual SnmpSyntax& operator=(const SnmpSyntax &/*val*/)
+ virtual SnmpSyntax& operator=(SnmpSyntax &/*val*/)
{
return *this;
}