mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 08:50:06 +00:00
Refactor ICG
Hey buddy. I wanted to tell you this before you heard it from someone else... I refactored ICG. Now, it's gonna look a little scary at first. But I promise you'll like it when you get used to it. It'll be fine. You can trust me. #341
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
#include "PrintAttributes.hh"
|
||||
#include "PrintFileContentsBase.hh"
|
||||
#include "PrintAttributesFactory.hh"
|
||||
#include "PrintFileContents10.hh"
|
||||
#include "HeaderSearchDirs.hh"
|
||||
#include "CommentSaver.hh"
|
||||
#include "ClassValues.hh"
|
||||
@ -30,7 +30,7 @@ PrintAttributes::PrintAttributes(int in_attr_version , HeaderSearchDirs & in_hsd
|
||||
sim_services_flag( in_sim_services_flag ) ,
|
||||
output_dir( in_output_dir )
|
||||
{
|
||||
printer = createFileContents(in_attr_version) ;
|
||||
printer = new PrintFileContents10() ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user