DeprecationDemo.cc
Go to the documentation of this file.
1 
9 #include "DeprecationDemo.h"
10 #include <utl/Deprecator.h>
11 
12 using namespace utl;
13 
14 namespace DeprecationExample {
15 
16  void
17  DeprecationDemo::DontUse()
18  const
19  {
20  Deprecator::GetInstance().Deprecated("DeprecationExample::DontUse",
21  "v0r0", "This was never legal, use UseThis()");
22  UseThis();
23  }
24 
25  void
26  DeprecationDemo::UseThis()
27  const
28  {
29  return;
30  }
31 
32 }

, generated on Tue Sep 26 2023.