summaryrefslogtreecommitdiff
path: root/ACE/ASNMP/examples/walk/walk.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 18:44:09 +0100
committerGitHub <noreply@github.com>2021-03-09 18:44:09 +0100
commitb0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch)
treef78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ASNMP/examples/walk/walk.cpp
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
parentadc1dcda981a4c76612bedeba2dddb76aa272d6f (diff)
downloadATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ASNMP/examples/walk/walk.cpp')
-rw-r--r--ACE/ASNMP/examples/walk/walk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ASNMP/examples/walk/walk.cpp b/ACE/ASNMP/examples/walk/walk.cpp
index 8215fe70a34..f634f364ba8 100644
--- a/ACE/ASNMP/examples/walk/walk.cpp
+++ b/ACE/ASNMP/examples/walk/walk.cpp
@@ -34,13 +34,13 @@
// SNMPv1 Walk Mib Application
//
class walkapp {
- public:
+public:
walkapp(int argc, char **argv); // process command line args
int valid() const; // verify transaction can proceed
int run(); // issue transaction
static void usage(); // operator help message
- private:
+private:
walkapp(const walkapp&);
UdpAddress address_;
@@ -141,7 +141,7 @@ void walkapp::usage()
// simple mib iterator class
//
class MibIter {
- public:
+public:
// Pdu must contain initial oid to begin with
MibIter(Snmp *snmp, Pdu& pdu, UdpTarget* target);
int next(Vb& vb, char *&err_reason); // return next oid in mib