Refactored the duplicated code into a template method pattern
authorAndrew Au <andrewau@microsoft.com>
Thu, 25 Apr 2019 21:03:01 +0000 (14:03 -0700)
committerAndrew Au <cshung@gmail.com>
Fri, 26 Apr 2019 16:23:44 +0000 (09:23 -0700)
commitf8b83776897d063b6208386e96394a9864f1a97b
treee09094e223fd782d16349b7f86fc1f9787c4204c
parent7fca620783fb2d005b0bd4b0d5aa946529b54b14
Refactored the duplicated code into a template method pattern

Commit migrated from https://github.com/dotnet/coreclr/commit/3a559ad43022df53c0f1426c828a6c21f79dd5dd
src/coreclr/src/vm/eventpipe.cpp
src/coreclr/src/vm/eventpipe.h
src/coreclr/src/vm/eventpipeconfiguration.cpp
src/coreclr/src/vm/eventpipeconfiguration.h