Commit 0bfb9970 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2497] Rename existing RdataFactory to OldRdataFactory

parent 1b661482
......@@ -275,11 +275,11 @@ def generate_rrparam(fileprefix, basemtime):
typeandclassparams += 'add("' + type_utxt + '", '
typeandclassparams += str(type_code) + ', "' + class_utxt
typeandclassparams += '", ' + str(class_code)
typeandclassparams += ', RdataFactoryPtr(new RdataFactory<'
typeandclassparams += ', RdataFactoryPtr(new OldRdataFactory<'
typeandclassparams += class_txt + '::' + type_utxt + '>()));\n'
else:
typeandclassparams += 'add("' + type_utxt + '", ' + str(type_code)
typeandclassparams += ', RdataFactoryPtr(new RdataFactory<'
typeandclassparams += ', RdataFactoryPtr(new OldRdataFactory<'
typeandclassparams += class_txt + '::' + type_utxt + '>()));\n'
rrparam_temp = open(placeholder, 'r')
......
......@@ -161,7 +161,7 @@ typedef map<RRTypeClass, RdataFactoryPtr> RdataFactoryMap;
typedef map<RRType, RdataFactoryPtr> GenericRdataFactoryMap;
template <typename T>
class RdataFactory : public AbstractRdataFactory {
class OldRdataFactory : public AbstractRdataFactory {
public:
using AbstractRdataFactory::create;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment